Go Down

Topic: IR remote recieve and store coding (Read 640 times) previous topic - next topic


I am not sure how to go about this.  Im using RC5 protocol and my code writing skills are extremely weak  :smiley-roll:

Im trying to store the values recieved with a software RTC to flip relays at wanted times so for example:
       If i press 1 then 2 then 3 then 0 on the remote, i want the time 12:30 stored so when the time is reached, a relay on a digital pin will flip.

Should i be using switch case statments?
What should the command libray look like in code, for example the button 1 on the remote has a hex value of 801, button 2 is 802, etc...

Ive looked at a few examples but i am very confused...  :smiley-sad-blue:


Maybe this library will help:

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131