see here for my code:
http://ace.pastey.net/9623With arduino-007, I get this error:
error: 'MorseFlasher' has not been declared In function 'void morse_char(char, void (*)(long unsigned int))':
In function 'void morse_dash(void (*)(long unsigned int))':
In function 'void morse_dot(void (*)(long unsigned int))':
In function 'void morse_string(const char*, void (*)(long unsigned int))':
I'm not sure where I'm going wrong, when I compile this code by hand with avr-gcc, I don't get this error. What is wrong with how I am using function pointers?
I wish arduino gave line numbers for the errors.