After some more searching I found the solution:
In the file platformio.ini add:
monitor_speed = baudRate
For example:
monitor_speed = 115200
After some more searching I found the solution:
In the file platformio.ini add:
monitor_speed = baudRate
For example:
monitor_speed = 115200