Tutorial – Bit Banging and Boolean Math without the Math

Overview When I am bit banging or programming microcontrollers, sometimes I really want to focus on what the bit patterns look like, really visualize what the zeros and ones are doing. But having to do the math in many cases distracts my attention from the task at hand. Using a calculator is slow and cumbersome, and also distracts me from the binary operations. We humans work and think in decimal. Bit patterns are in binary. To make the conversion a bit easier we convert to hexadecimal. Having to do this conversion, either mentally, using paper and pen or calculator, at…
Read more →