Arduino - Digital Inputs

preview_player
Показать описание
In this video we use digitalRead to read a digital input and control a digital output on an Arduino.

Get hold of these fantastic little devices here:

Find us on Facebook, Instagram and Twitter @MachineShopUK
Рекомендации по теме
Комментарии
Автор

Thank you sir for explaining the button system . I was getting confusing why my Adriano showing 0 and 1 random variables in my serial monitor. Even though my pin was not connected. Its because it take random disturbance as 1 . Maybe air resistance. Thank you sir 🙏

ankushchauhan
Автор

Dude thank you!! Finally someone getting straight to the point!

randomlysatisfying
Автор

Great video, wasted days using digitalWrite & not Read. Thank you

smtsoftwaresolutions
Автор

The way you drew the circuit almost gave me a stroke for a second there but other than that well done this video is awesome!

xkristofer
Автор

I’d never been aware of that INPUT_PULLUP trick - nice tip. Is it something that’s common on loads of MCUs? Also, what’s the red development board?

patrickmintram
Автор

That was really easy to understand. You just won a subscrieb. Thank you so much.

paranormaledits
Автор

Awesome, found the video while looking for digital inputs and really enjoyed. Looking forward to follow all the playlist as soon as i finish another intro course

Marorrai
Автор

hi
When you press the button the LED should be on and when you let go the LED should be off
It seems to behave the opposite, why ?
Meir

larido