Closed adein closed 9 years ago
The new microcontroller pin index starts at 0 instead of 1. Therefore, the value of 0 cannot be used to indicate that a circuit is not connected. The logic needs to be changed to check for >= 0.
Summary
The new microcontroller pin index starts at 0 instead of 1. Therefore, the value of 0 cannot be used to indicate that a circuit is not connected. The logic needs to be changed to check for >= 0.