Keeping Binary States with Integers

Keeping Binary States with Integers

With the help of a couple of Particle community forum topics, I've been able to piece together a simple way to keep state using the bits (0, 1) of an integer value. If you aren't familiar with binary bits in a byte (or an integer), you can read up in the Binary number Wikipedia article. However, I'll do a little explaining here, too! Be prepared, this is a little lengthy.

Read more at [ hackster.io ].