aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Added LVP to Baton UI. Was super easy.Selene ToyKeeper2017-08-231-1/+13
|
* Added missing returns, made strobe-from-off use memorized strobe speed,Selene ToyKeeper2017-08-191-2/+5
| | | | | set initial brightness to ~10lm after battery change.
* Baton: Strobe should be full-power.Selene ToyKeeper2017-08-191-3/+3
|
* Completely reorganized SpaghettiMonster code into smaller logical pieces: ↵Selene ToyKeeper2017-08-1915-734/+1128
| | | | fsm-*.c and fsm-*.h.
* Extra debouncing in PCINT (don't emit event if push was rejected).Selene ToyKeeper2017-08-193-29/+17
| | | | | | Fixed memory error in Baton -- long-press from off didn't restart at moon. Made Momentary and Baton go to sleep while light is off.
* Fixed momentary UI (API changed a little).Selene ToyKeeper2017-08-191-1/+1
|
* Improved memory handling in FSM Baton.Selene ToyKeeper2017-08-191-22/+36
| | | | | | | Improved brightness ramp. (lower low) Added double-click to/from turbo in steady modes. Moved strobes to triple-click.
* Fixed unreliability of short-click detection.Selene ToyKeeper2017-08-193-11/+25
| | | | | | | | | (it was doing stuff like "press, release, release, timeout" so it didn't match "press, release, timeout") (it may have also been missing the exact tick it needed, so I made it use >= instead of ==, but this is theoretical and harmless if I was wrong) Made baton mode memory work a bit better for both regular and strobe modes. Made baton fast strobe pulses shorter for better motion freezing. Added USE_DELAY_ZERO option as an alternate for USE_FINE_DELAY.
* Added unfinished UI similar to Olight Baton series.Selene ToyKeeper2017-08-193-68/+267
| | | | | | | | 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.
* Renamed from RoundTable to SpaghettiMonster (FSM).Selene ToyKeeper2017-08-194-9/+10
|
* Added missing GPL header, fixed typo, fixed missing return.Selene ToyKeeper2017-08-192-1/+25
|
* Made LVP work.Selene ToyKeeper2017-08-192-62/+177
| | | | | | | | | Converted emit handling to an async queue, to avoid long-running interrupts. (moved potentially long parts to main()) Improved button press debouncing (was getting stuck sometimes). Added an EV_debug event for testing. Added and turned off some voltage averaging/lowpass logic.
* First RoundTable example actually works (simple momentary 1-mode UI).Selene ToyKeeper2017-08-184-159/+423
| | | | | | | | 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.
* Some early ideas for Round Table. Nothing close to compile-able yet.Selene ToyKeeper2017-08-184-1/+542
|
* merged crescendo updates: added thermal regulationSelene ToyKeeper2017-07-281-5/+35
|\
| * Got 10-bit temperature measurement working.Selene ToyKeeper2017-06-251-5/+35
| |
* | Merged convoy/biscotti updates.Selene ToyKeeper2017-07-110-0/+0
|\ \ | | | | | | | | | | | | Calibration in .hex file is slightly different than Convoy build though. Use the Convoy branch for Convoy lights.
| * | Updated voltage calibration values. Upgraded from regular strobe to police ↵Selene ToyKeeper2017-03-171-24/+24
| | | | | | | | | | | | strobe.
| * | Added _delay_4ms() stuff, to save space on projects which need a few bytes ↵Selene ToyKeeper2017-03-161-0/+13
| | | | | | | | | | | | | | | | | | more than they need millisecond delay precision. (may break other projects unless I add a different way to enable the code, beware)
* | | Merged the crescendo (ramping-clicky UI) branch.Selene ToyKeeper2017-06-183-2/+31
|\ \ \ | | |/ | |/| | | | Applied tk-delay.h changes everywhere I could find a need for it.
| * | merged trunkSelene ToyKeeper2017-06-181-1/+1
| |\ \ | |/ / |/| |
* | | fixed tiny25 BOGOMIPS valueSelene ToyKeeper2017-05-011-1/+1
| | | | | | | | | | | | | | | (not sure why it was changed, but it was wrong)
| * | Fixed a compiler warning about tk-random.h.Selene ToyKeeper2017-03-261-1/+4
| | |
| * | Made tk-delay.h allow use of both _delay_ms() and _delay_4ms().Selene ToyKeeper2017-03-181-3/+4
| | |
| * | Fixed LVP. Verified it works on FET+1 and attiny25. Added presets for ↵Selene ToyKeeper2017-03-181-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.
| * | Added _delay_4ms() thing from new smaller biscotti. Will need it for crescendo.Selene ToyKeeper2017-03-161-0/+13
|/ /
* | Added info about getting USBasp to work in Windows (especially Windows 10).Selene ToyKeeper2016-09-201-0/+5
| |
* | Extra parents in include path.Selene ToyKeeper2016-09-201-1/+1
| |
* | Merged in Mike C's X85 firmware.Selene ToyKeeper2016-09-092-0/+30
|\ \ | | | | | | | | | | | | It's pretty full-featured and advanced, but requires a special driver. Still needs more info in its "meta" file.
| * | Updated Mike C's X85 firmware (new version 2016-06-22, IIRC).Selene ToyKeeper2016-09-092-0/+30
| | |
* | | merged new Convoy "Biscotti" firmwareSelene ToyKeeper2016-09-091-26/+26
|\ \ \ | | |/ | |/|
| * | merged trunkSelene ToyKeeper2016-09-092-3/+3
| |\ \ | |/ / |/| |
* | | Merged bistro and bistro-tripledown updates.Selene ToyKeeper2016-09-094-99/+162
|\ \ \ | |_|/ |/| | | | | Includes a new level_calc.py and some other script updates too.
| * | level_calc minor formatting fixSelene ToyKeeper2016-09-091-1/+1
| | |
| * | Flash ROM last, set fuses first. Switched from low=0xe2 to low=0xd2.Selene ToyKeeper2016-09-091-2/+2
| | |
| * | Add more parents to include path.Selene ToyKeeper2016-09-091-1/+1
| | |
* | | merged trunkSelene ToyKeeper2015-10-185-2/+48
|\ \ \
| * \ \ Merged many updates from tiny25/bistro branch.Selene ToyKeeper2015-10-185-2/+48
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Developed most of "bistro" firmware, based on blf-a6 but greatly improved. Made a simple program to blink out temperature measurements on tiny25. Added pseudo-random generator and strobe. Re-organized some battcheck and otc measurement data. Removed the need to specify paths to tk-*.h headers.
* | | | | merged trunkSelene ToyKeeper2015-10-070-0/+0
|\| | | |
| | | | * Raised the LVP trigger level since it seemed to be too low.Selene ToyKeeper2016-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | Tested on a bench power supply to make sure it works.
| | | | * Added extra parent includes to gcc path.Selene ToyKeeper2016-07-031-1/+1
| | | | |
| | | | * Calibrated voltage for nanjg 105d drivers used by Convoy.Selene ToyKeeper2016-07-031-25/+25
| | | |/
| | | * Added bistro-tripledown.c.Selene ToyKeeper2016-05-231-1/+34
| | | | | | | | | | | | | | | | It's a slight mod of bistro, to make it work on TripleDown drivers.
| | | * Fixed level_calc N-channel calculations to fix all errors I could find.Selene ToyKeeper2016-05-221-13/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed the case with multiple 7135 channels (they should add up). Fixed the calculation of moon mode. Fixed boundary cases, including below-zero PWM. Had to ask the user for the type (FET/7135) of each channel.
| | | * Made level_calc.py work with any number of power channels.Selene ToyKeeper2016-05-221-96/+96
| | | | | | | | | | | | | | | | | | | | | | | | Results are slightly different than before, and I'm not sure if I broke something or fixed something. Hard to tell. Regardless, it seems to work fine.
| | | * Different tiny25 fuses: No brownout detection, and slower startup.Selene ToyKeeper2015-11-081-1/+1
| | |/ | | | | | | | | | (am trying to reduce power use and hopefully prevent accidental resets)
| | * Removed the need to specify header file paths.Selene ToyKeeper2015-10-182-2/+2
| | | | | | | | | | | | Makes it easier to put all the files into one dir for building outside the repository.
| | * Made pgm_rand() more erratic (beginning of PROGMEM is boring for this purpose),Selene ToyKeeper2015-10-121-2/+3
| | | | | | | | | | | | made random strobe smaller and better-looking.
| | * Oops, forgot to add tk-random header.Selene ToyKeeper2015-10-121-0/+28
| | |
| | * Made a simple program to blink out temperature measurements.Selene ToyKeeper2015-10-102-0/+17
| | | | | | | | | | | | Added some basic temperature stuff to header files.