Pages: [1]   Go Down
Author Topic: IR remote recieve and store coding  (Read 501 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 1
Posts: 34
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Massachusetts, USA
Offline Offline
Tesla Member
Karma: 212
Posts: 8940
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe this library will help:

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

Pages: [1]   Go Up
Jump to: