Тёмный

ir sensor interfacing with arduino uno 

Robotic AI projects
Подписаться 151
Просмотров 107
50% 1

its for internship course design for engineering students

Наука

Опубликовано:

 

25 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1   
@RoboticAIprojects
@RoboticAIprojects Месяц назад
const int irsensor = 2; // the number of the pushbutton pin const int ledPin = 13; // the number of the LED pin // variables will change: int irstate = 1; // variable for reading the pushbutton status void setup() { // initialize the LED pin as an output: pinMode(ledPin, OUTPUT); // initialize the pushbutton pin as an input: pinMode(irsensor, INPUT); } void loop() { // read the state of the pushbutton value: irstate = digitalRead(irsensor); // check if the pushbutton is pressed. If it is, the irstate is HIGH: if (irstate == LOW) { // turn LED on: digitalWrite(ledPin, HIGH); } else { // turn LED off: digitalWrite(ledPin, LOW); } }
Далее
traffic light using arduino uno
1:48
Просмотров 72
IR Remotes & Microcontrollers - Arduino & ESP32
1:31:50
Просмотров 172 тыс.
МЕГА ФОКУС С ЧИПСАМИ
00:42
Просмотров 283 тыс.
Угадай МОБА 1 🥵 | WICSUR #shorts
01:00
Просмотров 2,6 млн
Поём вместе с CLEXXD🥵 | WICSUR #shorts
01:00
finger print connections
1:37
Просмотров 304
esp32 experiments
8:06
Просмотров 175
esp32 experiments
7:21
Просмотров 55
bread board learning using buzzer alarm
1:58
Battery  low 🔋 🪫
0:10
Просмотров 13 млн
Лучший браузер!
0:27
Просмотров 55 тыс.
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Просмотров 2 млн