Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, the mode was configured to INPUT and then written HIGH, which works on AVR but isn't very portable. Instead, this uses the INPUT_PULLUP pin mode (available since Arduino 1.0.1) which is portable.
- Loading branch information