У нас вы можете посмотреть бесплатно Arduino 2 LEDs in 1 Pin Tutorial - Easy Guide или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Arduino Intro Shorts | Easy tutorial on the 2 LEDs in 1 pin technique. Arduino Intro app (Google Play Store): https://play.google.com/store/apps/de... Complete tutorial on the 2 LEDs in 1 pin: https://arduinointro.com/articles/pro... Arduino sketch: /* 4 LEDs 2 Pins 1. Turn on the first pair of LEDs and turn off the other pair of LEDS at the same time, for 1 second. 2. Turn off the first pair of LEDs and turn on the other pair of LEDS at the same time, for 1 second. 3. Repeat */ int pinLED1=9,pinLED2=5; void setup() { // put your setup code here, to run once: pinMode(pinLED1,OUTPUT); pinMode(pinLED2,OUTPUT); } void loop() { // put your main code here, to run repeatedly: digitalWrite(pinLED1,LOW); digitalWrite(pinLED2,HIGH); delay(1000); digitalWrite(pinLED1,HIGH); digitalWrite(pinLED2,LOW); delay(1000); }