Basic equations and unpacking
Posted: 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.
For example I often pack 8 digital states in a single byte instead of having 8 boolean values.