Binary Arithmetic And Port Manipulation
About the project
One port to role them all.
Project info
Difficulty: Easy
Platforms: Arduino
Estimated time: 1 hour
License: GNU General Public License, version 3 or later (GPL3+)
Items used in this project
Story
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
https://playground.arduino.cc/Code/BitMath
Some more info on ports in arduino
https://www.arduino.cc/en/Reference/PortManipulation
Leave your feedback...