EN / USD
1 Items
 Home
Blog
How to use digitalRead in Arduino ?
digitalread
Hello everyone, I hope you all are fine and having fun. Today's tutorial is the next episode in the series of basic Arduino tutorial for Beginners. In today's tutorial, we are gonna have a look at How to use digitalRead in Arduino. In the previous tutorial, we have seen How to use pinMode Arduino Command, which sets the Arduino Pin either as Input or Output. So, if you are using this pin as input then you have to read its status and that's where you need to use this digitalRead Arduino Command. Other than Serial Pins in Arduino UNO, we also have 12 digital Pins. Serial Pins are also digital Pins so in total we have 14 digital Pins in Arduino UNO starting from 0 to 13. I am gonna explain them in detail in today's tutorial and we will also have a lo ...