| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Added nanjg board/pin layout definition to tk-attiny.h. | Selene ToyKeeper | 2015-10-05 | 1 | -0/+13 |
| | | | | | (at least works for s7.c, haven't tried others yet) | ||||
| * | Oops, delay_s() should delay for 1000 ms, not BOGOMIPS ms. | Selene ToyKeeper | 2015-09-11 | 1 | -2/+3 |
| | | |||||
| * | Refactored blf-a6 a bunch to export code to includes and make attiny ↵ | Selene ToyKeeper | 2015-09-11 | 1 | -0/+90 |
| 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. | |||||
