SwampFlux / tri-plus-ger

Alternative firmware for Qu-Bit Tri-ger
GNU General Public License v3.0
3 stars 0 forks source link

Arduino inputs are 10-bit #8

Closed wraybowling closed 4 years ago

wraybowling commented 4 years ago

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.