Browse Source

update last changes in hoverbrett controller

master
interfisch 7 months ago
parent
commit
b9a7f6e873
2 changed files with 4 additions and 4 deletions
  1. +3
    -3
      controller/controller.ino
  2. +1
    -1
      hoverboard-firmware-hack-foc-serial-esc

+ 3
- 3
controller/controller.ino View File

@ -211,7 +211,7 @@ void setup() {
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)
//Serial1 max be dead on my board?
//Serial1 may be dead on my board?
pinMode(PIN_LED, OUTPUT);
@ -681,8 +681,8 @@ void ReceiveSerial2()
Serial.print(" 6: "); Serial.print(Feedback.speedL_meas);
Serial.print(" 7: "); Serial.print(Feedback.batVoltage);
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(" 10: "); Serial.println(Feedback.curR_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 A, in hoverbrett negative sign for forward
} else {
Serial.println("Non-valid data skipped");
}

+ 1
- 1
hoverboard-firmware-hack-foc-serial-esc

@ -1 +1 @@
Subproject commit fc5f5a26ca648aa30aec3fc4904a3a7560c11baa
Subproject commit b9bf849330f8e7355d0881300ebdc59607845e2d

Loading…
Cancel
Save