aboutsummaryrefslogtreecommitdiff
path: root/bin/level_calc.py
diff options
context:
space:
mode:
authorSelene ToyKeeper2015-09-11 16:41:05 -0600
committerSelene ToyKeeper2015-09-11 16:41:05 -0600
commit483c2e00f16953f6305fb1f8b7479c2b09ada792 (patch)
tree3aac23b6a028eb527e27cb26f25b7cc392bbf90b /bin/level_calc.py
parentmerged trunk (diff)
downloadanduril-483c2e00f16953f6305fb1f8b7479c2b09ada792.tar.gz
anduril-483c2e00f16953f6305fb1f8b7479c2b09ada792.tar.bz2
anduril-483c2e00f16953f6305fb1f8b7479c2b09ada792.zip
Refactored blf-a6 a bunch to export code to includes and make attiny portability a bit better.
Moved MCU hardware options and pin layout to tk-attiny.h. Moved voltage and OTC hardcoded values to tk-calibration.h. Moved delay functions to tk-delay.h, and made it use BOGOMIPS instead of DELAY_TWEAK. Moved voltage ADC and most of the battcheck code to tk-voltage.h. Changed EEPLEN to EEPSIZE. Made 1.1V reference symbol consistent across MCUs to avoid repeated #if/#else clauses.
Diffstat (limited to 'bin/level_calc.py')
0 files changed, 0 insertions, 0 deletions