summaryrefslogtreecommitdiff
path: root/Arduino sketch
diff options
context:
space:
mode:
Diffstat (limited to 'Arduino sketch')
-rw-r--r--Arduino sketch/serial_rgb.pde1
1 files changed, 1 insertions, 0 deletions
diff --git a/Arduino sketch/serial_rgb.pde b/Arduino sketch/serial_rgb.pde
index 84d331b..f6121a2 100644
--- a/Arduino sketch/serial_rgb.pde
+++ b/Arduino sketch/serial_rgb.pde
@@ -21,6 +21,7 @@ void loop()
r = Serial.read();
g = Serial.read();
b = Serial.read();
+ Serial.write('1'); // Sync
}
analogWrite(LEDR, r);
analogWrite(LEDG, g);