aboutsummaryrefslogtreecommitdiff
path: root/tk-attiny.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-08-19Added unfinished UI similar to Olight Baton series.Selene ToyKeeper1-9/+7
Fixed 2nd PWM channel init. May have fixed 3rd and 4th too. Added handling for complete normal clicks, but it's kind of flaky so far. Added handling for sustained button holds. Added missing 'arg' to state change functions.
2017-08-19Renamed from RoundTable to SpaghettiMonster (FSM).Selene ToyKeeper1-2/+2
2017-08-18First RoundTable example actually works (simple momentary 1-mode UI).Selene ToyKeeper1-2/+15
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.
2017-08-18Some early ideas for Round Table. Nothing close to compile-able yet.Selene ToyKeeper1-1/+81
2017-05-01fixed tiny25 BOGOMIPS valueSelene ToyKeeper1-1/+1
(not sure why it was changed, but it was wrong)
2017-03-18Fixed LVP. Verified it works on FET+1 and attiny25. Added presets for ↵Selene ToyKeeper1-0/+12
MTN17DDm FET+1. Moved FAST/PHASE definitions to tk-attiny.h. These are really a per-layout option so it's better there.
2016-05-23Added bistro-tripledown.c.Selene ToyKeeper1-1/+34
It's a slight mod of bistro, to make it work on TripleDown drivers.
2015-10-10Made a simple program to blink out temperature measurements.Selene ToyKeeper1-0/+3
Added some basic temperature stuff to header files.
2015-10-05Added nanjg board/pin layout definition to tk-attiny.h.Selene ToyKeeper1-0/+13
(at least works for s7.c, haven't tried others yet)
2015-09-11Oops, delay_s() should delay for 1000 ms, not BOGOMIPS ms.Selene ToyKeeper1-2/+3
2015-09-11Refactored blf-a6 a bunch to export code to includes and make attiny ↵Selene ToyKeeper1-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.