Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When we are interested at working on a binary level, it's sometimes helpful to use hexadecimal values, which are a bit like an intermediary between binary and decimal.

...

When we look at this way, we see that in a a 2 byte integer, we could store a RGBA color value (Red, Green, Blue, Alpha). This could be really helpful, if we say wanted to send color values from a computer to an Arduino in the form of integers. This could in some cases be much faster than sending 4 values independently. In the next section we will see how it’s done.

Bit Shifting Operators

The three bit shifting operators are as follows:

...