So I have a project that has 3 inputs (and there all buttons) and 3 output (lcd). So how can it detect the button getting pressed?
(deleted)
Have a look at the example programs that come with the Arduino IDE.
The digitalRead() instruction is used to detect whether the voltage on an I/O pin is HIGH or LOW
...R
Thanks,
Can I the have code
Do you do an if then statement?
PIUS1212:
Thanks,
Can I the have code
As stated above, you have the code already.
PIUS1212:
Can I the have code
Do you have the Arduino IDE? Then you already have plenty of code. Look in Examples for Digital/Button or Debounce or StateChangeDetection. All detect buttons being pressed.
Steve