change baudrate for debug
This commit is contained in:
parent
bdf5f8be1b
commit
ce466e17b1
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue