aboutsummaryrefslogtreecommitdiff
path: root/tk-delay.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* First RoundTable example actually works (simple momentary 1-mode UI).Selene ToyKeeper2017-08-181-0/+4
| | | | | | | | Changed how tk-attiny.h detects whether a layout was defined. Changed how tk-attiny.h detects number of PWM channels for new-style layouts. Added no-underscore versions of delay functions. Lots of RoundTable refactoring and blank-filling.
* Made tk-delay.h allow use of both _delay_ms() and _delay_4ms().Selene ToyKeeper2017-03-181-3/+4
|
* Added _delay_4ms() thing from new smaller biscotti. Will need it for crescendo.Selene ToyKeeper2017-03-161-0/+13
|
* Replaced how USE_FILE_DELAY works.Selene ToyKeeper2015-10-051-7/+12
| | | | As a separate function, it seems to produce smaller builds.
* Oops, delay_s() should delay for 1000 ms, not BOGOMIPS ms.Selene ToyKeeper2015-09-111-1/+1
|
* Refactored blf-a6 a bunch to export code to includes and make attiny ↵Selene ToyKeeper2015-09-111-0/+51
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.