Please pardon the n00b question, I do a lot of stuff with Arduino but I've never used IR before!
I'm trying to do something really simple with an IR: send an int with an IR LED from one Arduino and receive the int with an IR receiver connected to another Arduino (it's for an installation with two interacting halves). I've been reading tons of tutorials on this and all the examples I've found use actual remotes with protocols (ie Sony), and I'm not sure how to understand this in the context of just wanting to send a simple int. I've read the datasheet for the ATMega328 to try to understand what's going on but I don't really get it.
I was thinking that I could send, for example, pulses that are multiples of 10 and divide the received signal by 10 to get the int (for example, to send a 7 pulse 70 ms). However since all the examples I can find use hex, I'm not sure how to do this - do I have to send hex values?
Does anyone have any simple explanation for this, or maybe an example that doesn't use a protocol and is for much simpler communication?
Thank-you so much for any guidance! :-*