change baudrate for debug

This commit is contained in:
interfisch 2019-06-11 20:54:30 +02:00
parent bdf5f8be1b
commit ce466e17b1
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ long last_adcupdated=0;
#define SENDPERIOD 20 //ms. delay for sending speed and steer data to motor controller via serial #define SENDPERIOD 20 //ms. delay for sending speed and steer data to motor controller via serial
//Status information sending //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; long last_parametersend=0;
#define CONTROLUPDATEPERIOD 10 #define CONTROLUPDATEPERIOD 10
@ -143,7 +143,7 @@ boolean lastpacketOK = false;
void setup() { 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) Serial2.begin(19200); //control. B10=TX3, B11=RX3 (Serial2 is Usart 3)
//Serial1 max be dead on my board? //Serial1 max be dead on my board?