I've been a little too forceful in optimizing my inputs to the point that things stopped working. Arduino inputs are 10-bit. B1111111111 is the same as 1023 That's cool but it's time to diex everywhere I used a uint8_t variable and lost the 2 most significant bits.
I've been a little too forceful in optimizing my inputs to the point that things stopped working. Arduino inputs are 10-bit.
B1111111111
is the same as1023
That's cool but it's time to diex everywhere I used auint8_t
variable and lost the 2 most significant bits.