Page 1 of 1
sending multiple codes
Posted: Mon Apr 30, 2018 6:51 am
by Ganeshbandi
I am doing a final year project about ir transmission .i controlled my AC using analysir source code and ir remote lib . i don't have knowledge on programming so any one post a sketch for sending codes like case'a' ,case 'b' (switch and case statement) .if any one help me i will finish my project.
thank you.
Re: sending multiple codes
Posted: Mon Apr 30, 2018 11:38 am
by AnalysIR
HI
It is unlikely, you will get someone to do the work for your final year project for you, as the purpose is for you to learn this yourself. I suggest you seek assistance from the teaching staff, fellow students or similar.
To send 'a' , 'b', 'c', etc.....you can use any IR signal/protocol and just map one value to 'a' and another value to 'b' etc...
NEC is a good protocol to use, but you can use any IR remote control and just record the HEX value for the buttons. Then you can use the HEX values to represent 'a', 'b', etc
e.g.
Code: Select all
case 0xAA550001 // 'a'
.....put code for 'a' here
break;
case 0xAA550002 // b'
.....put code for 'b' here
break;
case 0xAA550003 // 'c'
.....put code for 'c' here
break;
Best of luck with the project