A software implementation of the ATTINY85 code that BucketM0use made for the DMGC.
- Install c++ development tools, libyaml-cpp and SDL2
- Example in Ubuntu install: apt-get install build-essential libyaml-cpp-dev libsdl2-dev
- make
- executables are dropped in bin directory
There are currently three example sketches
This is the original sketch. Refer to DMGC-IPS-01 for details.
This is the same as the original, but improved using the key/button handler which is using states to determine the positions of buttons. Better practice instead of blocking with while loops. :P.
A more extended example, allowing for different modes.
- Breathing - Increases and decreases brightness at a specific rate. Changes to random color when brightness is at 5 or below, starting a new cycle
- Left to Right (LTR) - Run a gradient from left to right while brightning the a random color to the max, fade out and then restart
- Right to Left - Same as LTR, but going in the opposite direction
- Center Out - Same as LTR, but starting from right and select and going outward
- Out to Center - Same as LTR, but starting at up and A
- Random - Randomizes the order of the cycling as LTR
- Symlink library directory as src in the directory of the sketch
- In windows: mklink /J src ....\library
- In linux: ln -s ../../library src
- Open ino sketch, compile & upload
Have fun!
- Cleanup/Optimize configuration content
- Add additional utils as needed
- Adafruit_NeoPixel
- Implement other functionality
- EEPROM
- Fix get/put templating
- Implement other functionality
- Implement fast_led library functionality (http://fastled.io/)
- Try to match as close as possible the hardware speed at 8mhz