aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * 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.
| | * merged trunkSelene ToyKeeper2015-10-070-0/+0
| | |\ | | |/ | |/|
| * | merged TK refactoring effort and bistro project from sandbox:Selene ToyKeeper2015-10-075-6/+417
| |\ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | - reworking how common code is shared (in headers) - made battcheck output more values (and has more reference measurements too) - added new 'bistro' project - reworked blf-a6 to use new refactored base code - reworked s7 to use new refactored base code, including volts+tenths battcheck - made level_calc.py able to use several different curve shapes
| * | merged Tido's BLF-VLD codeSelene ToyKeeper2015-09-140-0/+0
| |\ \
| | | * merged sandbox -- added Tido's BLF-VLD, updated s7 and added volts+tents ↵Selene ToyKeeper2015-10-052-7/+25
| | | |\ | |_|_|/ |/| | | | | | | battcheck to it, battcheck.py and tk-*.h updates...
* | | | Replaced how USE_FILE_DELAY works.Selene ToyKeeper2015-10-051-7/+12
| | | | | | | | | | | | | | | | As a separate function, it seems to produce smaller builds.
* | | | Added nanjg board/pin layout definition to tk-attiny.h.Selene ToyKeeper2015-10-051-0/+13
| | | | | | | | | | | | | | | | (at least works for s7.c, haven't tried others yet)
* | | | merged tiny25 branchSelene ToyKeeper2015-10-055-6/+399
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/|
| * | Added volts+tenths and 8-bar battery check styles.Selene ToyKeeper2015-10-032-16/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reworked how voltage definitions work, and added one for each tenth of a volt. Set default calibration for RMM attiny25V driver. Made battcheck.py output all tenths in a wide range. Changed bistro to use x**3 curve for better mode spacing. Changed bistro's blink() to be compatible with volts+tenths code. Tried to fit volts_tenths into blf-a6 for attiny13a but failed. Made blf-a6 compatible with 8-bar battery check style.
| * | made visually-linear curve function configurable in level_calc.pySelene ToyKeeper2015-09-301-6/+22
| | |
| * | Oops, delay_s() should delay for 1000 ms, not BOGOMIPS ms.Selene ToyKeeper2015-09-112-3/+4
| | |
| * | Refactored blf-a6 a bunch to export code to includes and make attiny ↵Selene ToyKeeper2015-09-114-0/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | merged trunkSelene ToyKeeper2015-09-100-0/+0
| |\|
* | | merged trunkSelene ToyKeeper2015-09-143-3/+34
|\ \ \ | | |/ | |/|
| * | Merged attiny25 support for blf-a6, battcheck, and offtime-cap.Selene ToyKeeper2015-09-103-3/+34
| |\| | | | | | | | | | | | | Added some attiny25-related scripts.
| | * Made offtime-cap work on attiny25 in addition to the attiny13 it already ↵Selene ToyKeeper2015-09-102-4/+6
| | | | | | | | | | | | | | | | | | supported. Added attiny type as a build script option, so the code will automatically select the right options.
| | * Added attiny25-compatible build and flash scripts.Selene ToyKeeper2015-09-103-1/+30
| |/ | | | | | | | | Tested (and works) with Tom E's eswitch_NOINIT.c for attiny25.
| * merged final blf-a6 files for groupbuy production unitsSelene ToyKeeper2015-08-240-0/+0
|/|
| * merged trunkSelene ToyKeeper2015-05-281-3/+4
| |\ | |/ |/|
* | Added "-c -std=gnu99" to build script, made some small 'inline' changes to ↵Selene ToyKeeper2015-04-191-2/+3
| | | | | | | | sources, and made output even smaller.
* | Added nicer avr-size output during builds.Selene ToyKeeper2015-04-191-1/+1
|/
* Added dual PWM support to level_calc.py, and made it work better when run ↵Selene ToyKeeper2015-04-061-12/+82
| | | | | | via an icon in Windows. Fixed estimation formulas to better account for high minimum modes.
* Moved level_calc.py to bin/ since it's useful for general purposes.Selene ToyKeeper2015-04-061-0/+61
| | | | | Made level_calc.py prompt the user for input interactively, or get values from the command line if possible.
* Improved info for Windows users in the README.Selene ToyKeeper2015-04-011-5/+18
| | | | Showed how to add suid on avrdude for convenience.
* merged better-index branch, provides auto-generated package index via taggingSelene ToyKeeper2015-03-191-0/+3
|\
| * minor top-level doc updatesSelene ToyKeeper2015-03-191-0/+3
|/
* Merged STAR updates from JonnyC.Selene ToyKeeper2015-01-230-0/+0
|\
| * merged trunkSelene ToyKeeper2015-01-231-0/+6
| |\ | |/ |/|
* | added links to flashing hardwareSelene ToyKeeper2014-12-241-0/+6
|/
* Convenience script for compiling attiny13a firmwares.Selene ToyKeeper2014-11-051-0/+24
|
* verify images after flashing them (oops, requires 6 pins, not 5)Selene ToyKeeper2014-10-151-1/+1
|
* normalized indentation with spacesSelene ToyKeeper2014-08-161-179/+179
|
* Copied from JonnyC/STAR/SRK_no_ramp-Werners_UI/Selene ToyKeeper2014-08-162-0/+317
|
* Started adding contributions from DrJones.Selene ToyKeeper2014-07-241-51/+11
|
* Er, don't try to verify after flashing. At least on my setup, this failsSelene ToyKeeper2014-07-231-1/+1
| | | | | and then it aborts the fuse steps. So, no verification.
* Added a dir to hold generally-useful utilities.Selene ToyKeeper2014-07-221-0/+3
| | | | | Includes a short script to flash a .hex file onto an attiny13a using the usbasp device.
* Included a precompiled version of 'hello world' so people can test theSelene ToyKeeper2014-07-201-0/+13
| | | | | | flashing process even if their build toolchain isn't working. Not everyone needs to compile the firmware.
* Starting a new flashlight firmware repository... just the README so far.Selene ToyKeeper2014-07-201-0/+79