diff options
Diffstat (limited to 'main.h')
-rwxr-xr-x | main.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ extern unsigned int temperature_lsb; extern int temperature_msb;
unsigned char temp_sign;
-// Define MSB / LSB
+// Define MSB / LSB: Useful for separating into chars for tens and ones places
#define LSB(x) ((x % 10) + '0') // x >> 4
#define MSB(x) ((x / 10) + '0') // x & 0x0F
|