Arduino

Serial Commands

Submitted by Evan Boldt on

Introduction Serial communication through USB can be used to communicate between a host computer (like a laptop, or Raspberry Pi), and an Arduino. Doing so allows: Use of the faster hardware of the host computer for calculations Synchronization of multiple Arduinos Use of other information…

Optimized Multiple Pin Reads

Submitted by Evan Boldt on

Memory Addressing First, to understand why things are done this way, it should be known that a bool (boolean true/false) is only 1 bit. 1 for true, 0 for false. However, computers have an addressing system for memory, which cannot go directly to a single bit. An address usually goes to a 8 bit…