Looking for common bugs in Arduino projects

Checking an unsigned int for a value smaller than zero (and assuming that it will happen).

for (uint8_t i=10; i<0;i--) {
1 Like