Basic equations and unpacking

Post Reply
travisj
Noob
Posts: 4
Joined: Fri Jun 26, 2020 5:37 pm

Basic equations and unpacking

Post by travisj » Sat Jun 27, 2020 4:33 pm

Especially with MQTT making messages compact is helpful in keeping bandwidth low. Simple equations and bitwise math would be very helpful.

For example I often pack 8 digital states in a single byte instead of having 8 boolean values.

Post Reply