From 852306221f4adcaf2ea9edb68153ea6090b68803 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 12 Sep 2011 09:54:03 +0100 Subject: Commit to move to other laptop due to technical dificulties. --- Arduino/LEDMatrix/LEDMatrix.pde | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) (limited to 'Arduino/LEDMatrix/LEDMatrix.pde') 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(); } -- cgit v1.2.3