Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб Ir receiver SM0038,TSOP1738 with ARDUINO в хорошем качестве

Ir receiver SM0038,TSOP1738 with ARDUINO 6 лет назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



Ir receiver SM0038,TSOP1738 with ARDUINO

Learning ARDUINO projects in few minutes. Controlling RGB led with TV Remote. -- Created using PowToon -- Free sign up at http://www.powtoon.com/youtube/ -- Create animated videos and animated presentations for free. PowToon is a free tool that allows you to develop cool animated clips and animated presentations for your website, office meeting, sales pitch, nonprofit fundraiser, product launch, video resume, or anything else you could use an animated explainer video. PowToon's animation templates help you create animated presentations and animated explainer videos from scratch. Anyone can produce awesome animations quickly with PowToon, without the cost or hassle other professional animation services require. SKETCH FOR THIS PROJECT Replace '@' with angular brackets #include @IRremote.h@ int RECV_PIN = 11; IRrecv irrecv(RECV_PIN); decode_results results; int red = 7; int green = 6; int blue = 5; int pressed; void setup() { Serial.begin(9600); irrecv.enableIRIn(); // Start the receiver pinMode(red, OUTPUT); pinMode(green, OUTPUT); pinMode(blue, OUTPUT); } void loop() { if (irrecv.decode(&results)) { if (results.value == 0x20DF4EB1) { setColor(255, 0, 0); // RED delay(100); } if (results.value == 0x20DF8E71) { setColor(0, 255, 0);// GREEN delay(100); } if (results.value == 0x20DFC639) { setColor(255, 255, 0); // YELLOW delay(100); } if (results.value == 0x20DF10EF) { setColor(255, 255, 255); // WHITE delay(100); } if (results.value == 0x20DF8679) { setColor(0, 0, 255); // BLUE delay(100); } if (results.value == 0x20DF8877) { setColor(0, 255, 255); delay(100); } if (results.value == 0x20DF48B7) { setColor(255, 0, 255); delay(100); } if (results.value == 0x20DFDA25 ) { digitalWrite(red, LOW); digitalWrite(green, LOW); digitalWrite(blue, LOW); } irrecv.resume(); // Receive the next value } delay(100); } void setColor (int redValue, int greenValue, int blueValue) { analogWrite(red, redValue); analogWrite(green, greenValue); analogWrite(blue, blueValue); }

Comments