Тёмный
No video :(

Arduino Interrupt: Basic Tutorial! (External Interrupt) 

Arduino Expert
Подписаться 829
Просмотров 1,6 тыс.
50% 1

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

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 6   
@luizmelk3114
@luizmelk3114 7 месяцев назад
Thanks for the video! I finally understood why we have different interruption modes and how they work.
@arduinoexpert3416
@arduinoexpert3416 7 месяцев назад
Thank you! I am glad you liked it!
@renjithvs6272
@renjithvs6272 4 месяца назад
Excellent information. I'm working on a project that needs a suggestion. Made a simple RFID reader with RC22 and Arduino UNO with LCD. Once RFID is scanned, it holds it for 3 seconds and ready to scan the next. There is an external 12v dc supply to trigger the interrupt (instead of switch) and I need to keep the scanner busy until I remove the 12v. Also, LCD should display "Busy" until the 12V is removed. Can u pls advice
@lastchance045
@lastchance045 6 месяцев назад
Here is the code I copied from your video Thanks #include #include const int button_pin = 2; int number = 0; LiquidCrystal_I2C lcd(0x27, 16, 2) ; void setup() { lcd.init(); lcd.backlight(); lcd.print ("NUMBER:"); pinMode (button_pin, INPUT); attachInterrupt (digitalPinToInterrupt(button_pin), incrementNumber, RISING); } void loop () { lcd.setCursor (8,0); lcd.print (number); } void incrementNumber () { number ++ ; }
@arduinoexpert3416
@arduinoexpert3416 6 месяцев назад
Hello my friend! Sorry for the late reply. So, the problem with your code is that TinkerCad uses a different address for the LCD display. Try to change the command in your code from: LiquidCrystal_I2C lcd(0x27, 16, 2) ; to LiquidCrystal_I2C lcd(32, 16, 2); Note that in the video I'm using the number 32 as address. Also, have a look at the address your display is using by clicking on it, to see if they match. Let me know if it worked. Take care!
@JohnJohn-yc1mm
@JohnJohn-yc1mm 6 месяцев назад
Hello Arduino Expert Nice video, please how can we contact you, (email address?)
Далее
😭Телеграм УДАЛЯЮТ❌
00:50
Просмотров 117 тыс.
MOSFETs and Transistors with Arduino
40:50
Просмотров 1 млн
QSpice - The best free circuit simulator?
17:16
Просмотров 21 тыс.
Arduino PWM: Pulse Width Modulation
5:56
Просмотров 10 тыс.
I built my own computer. by hand.
13:03
Просмотров 1,2 млн
I2C LCD display with Arduino: Easy Tutorial!
6:31
Просмотров 2,5 тыс.