diff options
Diffstat (limited to 'Arduino/LEDMatrix/LEDMatrix.pde')
-rw-r--r-- | Arduino/LEDMatrix/LEDMatrix.pde | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/Arduino/LEDMatrix/LEDMatrix.pde b/Arduino/LEDMatrix/LEDMatrix.pde index 18a00ae..4a07bfc 100644 --- a/Arduino/LEDMatrix/LEDMatrix.pde +++ b/Arduino/LEDMatrix/LEDMatrix.pde @@ -24,32 +24,8 @@ void setup ( ) void loop ( ) { - int timer = 0; - - if (Serial.read() == ((byte)108)) { - Serial.println("L Recieved"); - while (Serial.peek() == -1) { - } - if (Serial.read() == ((byte)101)) { - while (Serial.peek() == -1) { - } - Serial.println("E recieved"); - for (int i = 0; i < (chips*8); i++) { - while (Serial.peek() == -1) { - } - buffer[i] = Serial.read(); - - Serial.println(buffer[i]); - - } - Serial.println("Buffer Recieved"); - - - } - - - - + for (int i=0; i<(chips * 8); i++) { + buffer[i] = 0b10101010;//random(-128,127); // Just Green } matrix.Update(); } |