~toykeeper/flashlight-firmware/trunk

  • Committer: Selene Scriven
  • Date: 2014-11-15 23:25:49 UTC
  • Revision ID: ubuntu@toykeeper.net-20141115232549-hez9z9z9g8sguv2f
Did a nasty hack job to make PFM-based moon self-adjustment work better.
Made PFM adjust by 1 per "tick" instead of going directly to the desired level.
  (also, tried some other methods first, but this works by far the best)
  (this also makes it handle in-between levels pretty well when the voltage
   keeps flapping rapidly across a threshold)
  (and it looks cool when it ramps up on boot)
Made each "tick" 1/100th as long, to make adjustments happen faster.
  (and adjusted turbo step-down accordingly, which cost me a 16-bit int instead of 8)
Adjusted moon ceiling levels a little.
Changed anything and everything I could think of to reduce overall size.
  (and it just barely fits now, at exactly 1024 bytes)

The end result is indeed significantly better, but I feel dirty for some of
the things I had to do to get to this point.
Filename Latest Rev Last Changed Committer Comment Size
..
bin 16 10 years ago Selene Scriven Added a dir to hold generally-useful utilities. In Diff
DrJones 24 10 years ago Selene Scriven Started adding contributions from DrJones. Diff
hello_world 3 10 years ago Selene Scriven Added a 'hello world' test program, based on Jonny Diff
JonnyC 2 10 years ago Selene Scriven Added JonnyC's "STAR" family of firmwares. Diff
Tom_E 53 10 years ago Selene Scriven Added a STAR-momentary from Tom E, with easy off a Diff
ToyKeeper 15 10 years ago Selene Scriven Moved my sources into ToyKeeper/ directory to keep Diff
tterev3 18 10 years ago Selene Scriven Added PIC10F322 C code examples from tterev3. (one Diff
index.txt 19 10 years ago Selene Scriven Added a short list of what's in this repository an 2 KB Diff Download File
README 24 10 years ago Selene Scriven Started adding contributions from DrJones. 1.6 KB Diff Download File