How to Write Binary and Hexadecimal Numbers in Arduino
For an introduction to binary and hexadecimal notation, read this post. In the Arduino IDE, representing numbers in binary or hexadecimal notation often comes in handy. For example, since the ATmega328’s registers are eight bits, I often set the bits of a register by assigning the register an eight-bit binary number. To assign a variable