diff options
author | Christopher Baines <cbaines8@gmail.com> | 2011-09-12 09:54:03 +0100 |
---|---|---|
committer | Christopher Baines <cbaines8@gmail.com> | 2011-09-12 09:54:03 +0100 |
commit | 852306221f4adcaf2ea9edb68153ea6090b68803 (patch) | |
tree | ddd7ee44c62a4f22ddb30db717a86eba48596407 /Arduino/LEDMatrix | |
parent | 8962f50d7c24d428f0fdc2d1d90c65d4f9e7955c (diff) | |
download | punchingbag-852306221f4adcaf2ea9edb68153ea6090b68803.tar punchingbag-852306221f4adcaf2ea9edb68153ea6090b68803.tar.gz |
Commit to move to other laptop due to technical dificulties.
Diffstat (limited to 'Arduino/LEDMatrix')
-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(); } |