Binary Arithmetic And Port Manipulation
About the project
One port to role them all.
Estimated time: 1 hour
Items used in this project
In this tutorial I will cover the basics of binary arithmetic and its practical uses in arduino.
Setting and storing the state of 8 leds, with only one byte of data.
Also covering some of the less known and used bit functions of Arduino, like bitSet, bitClear and some other bit functions.
For more read about binary arithmetic and its practical uses in arduino
Some more info on ports in arduino