What are the actual values for HIGH, LOW, INPUT, and OUTPUT? These are used in functions like pinMode() and digitalWrite().
Thanks
What are the actual values for HIGH, LOW, INPUT, and OUTPUT? These are used in functions like pinMode() and digitalWrite().
Thanks
These might be of use to you:
https://www.arduino.cc/en/Reference/Constants
#define HIGH 0x1
#define LOW 0x0
#define INPUT 0x0
#define OUTPUT 0x1
#define true 0x1
#define false 0x0
So basically they are booleans since C/C++ represents true as 0x1
and false as 0x0