Tone only works the first time through void loop.
IRreceive only gets &results correct the first time through the loop.
&results == 0 after the first time.
Commenting out code for either function, the other will work repeatedly.
Have tried flushing Serial, changing IRpin,...
Am not using slowerpin or fasterpin at this time.
I know this is a stupid way to sound the code but it will do for now.
I've corrected the code for '6' and 'c' here but if you DL the attached file it will require those two characters to be edited. '6' should be -.... and 'c' should be -.-.
Edited wrong post so lost the old sketch that was here in code brackets.
Expect the attachment is what was here.
IRreceive only gets &results correct the first time through the loop.
&results == 0 after the first time.
Commenting out code for either function, the other will work repeatedly.
Have tried flushing Serial, changing IRpin,...
Am not using slowerpin or fasterpin at this time.
I know this is a stupid way to sound the code but it will do for now.
I've corrected the code for '6' and 'c' here but if you DL the attached file it will require those two characters to be edited. '6' should be -.... and 'c' should be -.-.
Edited wrong post so lost the old sketch that was here in code brackets.
Expect the attachment is what was here.
Attachments
Last edited: