diff --git a/arduino/thekenlicht.ino b/arduino/arduino.ino similarity index 88% rename from arduino/thekenlicht.ino rename to arduino/arduino.ino index 51f5913..e9d63c3 100644 --- a/arduino/thekenlicht.ino +++ b/arduino/arduino.ino @@ -15,7 +15,7 @@ void setup() pinMode(GREEN_LED, OUTPUT); pinMode(BLUE_LED, OUTPUT); - Serial.begin(9600); + Serial.begin(115200); } char* result[3]; @@ -48,8 +48,7 @@ void loop() analogWrite(GREEN_LED, gb); analogWrite(BLUE_LED, bb); - String out = (String)rb + ";" + (String)gb + ";" + (String)bb; - Serial.println(out); + //String out = (String)rb + ";" + (String)gb + ";" + (String)bb; + //Serial.println(out); } } - diff --git a/src/main.rs b/src/main.rs index c5061a4..ede5870 100644 --- a/src/main.rs +++ b/src/main.rs @@ -34,7 +34,7 @@ fn main() { return; }; let conf_res = serial.reconfigure(&|settings| { - settings.set_baud_rate(serial::Baud9600)?; + settings.set_baud_rate(serial::Baud115200)?; settings.set_char_size(serial::Bits8); settings.set_parity(serial::ParityNone); settings.set_stop_bits(serial::Stop1);