- renamed cheap PoC to it's directory

master
Steve Clement 2013-07-29 20:01:19 +02:00
parent e3cd44e7d2
commit c50d38ab7e
1 changed files with 5 additions and 3 deletions

View File

@ -17,7 +17,7 @@ void setup() {
matrix.begin(); matrix.begin();
} }
int myWindows (int w){ int myWindows (int w, int br){
// White is 7,7,7 // White is 7,7,7
uint8_t r=7, g=7, b=7; uint8_t r=7, g=7, b=7;
@ -112,8 +112,10 @@ switch (w) {
void loop() { void loop() {
// do nothing // do nothing
myWindows(random(1,21)); //myWindows(random(1,21));
//myWindows(16); int window = 13;
int brightness = 255;
myWindows(window, brightness);
int del = 100; int del = 100;
delay(del); delay(del);
// fill the screen with 'black' // fill the screen with 'black'