From ce466e17b1dc07d8e65f0405da5d77861e021925 Mon Sep 17 00:00:00 2001 From: Fisch Date: Tue, 11 Jun 2019 20:54:30 +0200 Subject: [PATCH] change baudrate for debug --- controller.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller.ino b/controller.ino index bfc7aeb..72826e0 100644 --- a/controller.ino +++ b/controller.ino @@ -32,7 +32,7 @@ long last_adcupdated=0; #define SENDPERIOD 20 //ms. delay for sending speed and steer data to motor controller via serial //Status information sending -#define PARAMETERSENDPERIOD 200 //delay for sending stat data via nrf24 +#define PARAMETERSENDPERIOD 50 //delay for sending stat data via nrf24 long last_parametersend=0; #define CONTROLUPDATEPERIOD 10 @@ -143,7 +143,7 @@ boolean lastpacketOK = false; void setup() { - Serial.begin(57600); //Debug and Program. A9=TX1, A10=RX1 (3v3 level) + Serial.begin(115200); //Debug and Program. A9=TX1, A10=RX1 (3v3 level) Serial2.begin(19200); //control. B10=TX3, B11=RX3 (Serial2 is Usart 3) //Serial1 max be dead on my board?