-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: ADCs provide erroneous readings. (#3)
This is due to the fact that the same pins can be used both as analog and digital inputs. The problem however is, that once pins are configured as digital input pins they no longer report correct values when used as analog inputs. By their nature (as defined via the schematic) those pins are primarily defined as analog inputs and are consequently used as such. A digital input functionality is emulated on top of the analog one, by putting the transfer point between LOW and HIGH at the halfway point of the full analog voltage range.
- Loading branch information
Showing
1 changed file
with
27 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters