error: invalid conversion from 'volatile byte' to 'void (*)()'

Pesho77:
Sorry thats because its the same code coped again, im not that concerned about { and } because i only need to add or delete them the bigger problem wich i cant explain is the error mesage in one and not the other its the same code as far as i can tell.
I dont want to seam dim or ignorant i just want to solve one problem at a time the first one listed is the
" error: 'pulseCounter' was not declared in this scope"

Fix the incorrect brackets, and you'll find the pulseCounter error most probably goes away. Sometimes the error messages are not so obvious, and you need to inspect the surrounding code too.