First doodles for my alternative PWM-firmware.
So far so good. Need button debouncing!
Getting there...
Code cleanup
Added crude anti-bounce check for the button in do_sleep().
More cleanup.
There is a weird not-waking-up issue...
Trying something else with sleeping.
Working better now.
Removed the 'fast_flicker' option for now, added garbage collect.
Replaced fade_in() and fade_out() with fade(from,to);
Added a delay parameter to fade();
Now fading between random brightness changes. Looks good ;-)
Added a readme file.
Tweaks.
Added a few comments.
9.6MHz --> 4.8MHz + CLKPR adjusted to get 600kHz system-clock again.
Fixed a typo in main.c
Last adjustmenst, so the PWM firmware runs on the real hardware as well.
Updated 'readme.txt'