update last changes in hoverbrett controller
This commit is contained in:
parent
b7d94dbe13
commit
b9a7f6e873
|
@ -211,7 +211,7 @@ void setup() {
|
||||||
Serial.begin(SERIAL_BAUD); //Debug and Program. A9=TX1, A10=RX1 (3v3 level)
|
Serial.begin(SERIAL_BAUD); //Debug and Program. A9=TX1, A10=RX1 (3v3 level)
|
||||||
|
|
||||||
Serial2.begin(SERIAL_CONTROL_BAUD); //control. B10=TX3, B11=RX3 (Serial2 is Usart 3)
|
Serial2.begin(SERIAL_CONTROL_BAUD); //control. B10=TX3, B11=RX3 (Serial2 is Usart 3)
|
||||||
//Serial1 max be dead on my board?
|
//Serial1 may be dead on my board?
|
||||||
|
|
||||||
|
|
||||||
pinMode(PIN_LED, OUTPUT);
|
pinMode(PIN_LED, OUTPUT);
|
||||||
|
@ -681,8 +681,8 @@ void ReceiveSerial2()
|
||||||
Serial.print(" 6: "); Serial.print(Feedback.speedL_meas);
|
Serial.print(" 6: "); Serial.print(Feedback.speedL_meas);
|
||||||
Serial.print(" 7: "); Serial.print(Feedback.batVoltage);
|
Serial.print(" 7: "); Serial.print(Feedback.batVoltage);
|
||||||
Serial.print(" 8: "); Serial.println(Feedback.boardTemp);
|
Serial.print(" 8: "); Serial.println(Feedback.boardTemp);
|
||||||
Serial.print(" 9: "); Serial.print(Feedback.curL_DC); //in mA (100mA resolution), in hoverbrett negative sign for forward
|
Serial.print(" 9: "); Serial.print(Feedback.curL_DC); //in A, in hoverbrett negative sign for forward
|
||||||
Serial.print(" 10: "); Serial.println(Feedback.curR_DC); //in mA (100mA resolution), in hoverbrett negative sign for forward
|
Serial.print(" 10: "); Serial.println(Feedback.curR_DC); //in A, in hoverbrett negative sign for forward
|
||||||
} else {
|
} else {
|
||||||
Serial.println("Non-valid data skipped");
|
Serial.println("Non-valid data skipped");
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit fc5f5a26ca648aa30aec3fc4904a3a7560c11baa
|
Subproject commit b9bf849330f8e7355d0881300ebdc59607845e2d
|
Loading…
Reference in New Issue