Skip to content

Commit a79b044

Browse files
committed
adjusted baudrate
1 parent 6abb790 commit a79b044

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "EventDispatcher/CrossLinkDebugger.h"
99
#include "IOBoardController.h"
1010
#include "PPUC.h"
11+
#include "PPUCProtocolV2.h"
1112
#include "RPi_Pico_TimerInterrupt.h"
1213

1314
IOBoardController ioBoardController(CONTROLLER_16_8_1);
@@ -50,7 +51,7 @@ void setup() {
5051
pinMode(RS485_MODE_PIN, OUTPUT);
5152
digitalWrite(RS485_MODE_PIN, LOW); // Read mode
5253
delay(5);
53-
Serial1.begin(115200);
54+
Serial1.begin(ppuc::v2::kBaudRate);
5455
// Empty RX FIFO after reboot
5556
while (Serial1.available()) {
5657
Serial1.read();

0 commit comments

Comments
 (0)