I've been able to get two Arduino's send and receive IR signals at 38KHz using libraries that mimic TV codes (so I know both my systems work).
Now I'd like to be able to send raw data back and forth between the two systems. Nothing large... let's say 10 or 15 byte payloads at a time.
I tried combining the send and receive sketches for the TV signals into a single sketch, but it did not succeed - too many issues to list here.
And at any rate, I'd like to create a sketch from scratch that does something like this:
1 - Listen for Incoming IR Data If No Data coming, GoTo 1, else 2 - Read data into a buffer 3 - Print data in Serial.print 4 - GoTo 1
Something to that effect.
Any guidance would be appreciated. Thanks in advance.