in this project we all so use library file
visit to download http://j.gs/75JI
after add the library you must record the your own any remote button cords into the
HEX value
the code is there http://j.gs/75JK
- first of all you must connect the IR sensor receiver to the arduino board pin 11
- then connect the board to the computer and upload the cords
- after uploading you must open the serial monitor and get the cord for each button
then you can use the follow cords for control any led like on off with your own button as you wish
http://j.gs/75JU
case 0x2FD807F:
Serial.println("Center");
digitalWrite(LED1,HIGH);
break;
case 0x2FD40BF:
Serial.println("Center");
digitalWrite(LED1,LOW);
break;
if you can change your button like this ,you must want to change hex cord only
and the other thing is = how to control the led brightness in with to button
if you want this cord please massage me
No comments:
Post a Comment