This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* crossFade() will fade from the current value of the RGB | |
* LED to the passed color over the given time-frame (in | |
* milliseconds) then returns (this function is blocking). | |
*/ | |
void crossFade(int pins[3], int color[3], int speed) { | |
// PWM Range, adjustable for differnt bit width units | |
int PWM = 1024; | |
// Get the starting colors as PWM values | |
int startColor[3]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\\ BLOCK 1 | |
\ Installer, just handy to have | |
: Install PAGE CR 0SP | |
." Loading Variables " 2 LOAD ." [DONE]" CR | |
." Compiling Digitizer " 3 LOAD ." [DONE]" CR | |
." Compiling LCD Display " 4 LOAD ." [DONE]" CR | |
." Compiling Tocks " 5 LOAD ." [DONE]" CR | |
." Compiling Ticks " 6 LOAD ." [DONE]" CR | |
." Registering Buttons " 7 LOAD ." [DONE]" CR | |
." Compiling Set " 8 LOAD ." [DONE]" CR |
NewerOlder