Using INPUT_PULLUP to read a button's value
by
phongphanthanh98
Clone & Edit
Download
Edit
Using INPUT_PULLUP to read a button's value.ino
1
2
const
int
button
=
8
;
const
int
power
=
3
;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX