gps sous marin
Dependencies: mbed ST_401_84MHZ
Diff: main.cpp
- Revision:
- 1:fffd2267d68d
- Parent:
- 0:9ad72c2aa3fa
diff -r 9ad72c2aa3fa -r fffd2267d68d main.cpp --- a/main.cpp Thu Dec 12 16:09:07 2019 +0000 +++ b/main.cpp Thu Dec 12 16:12:01 2019 +0000 @@ -9,11 +9,14 @@ The default serial configuration in this case is 9600 bauds, 8-bit data, no parity + If you want to change the baudrate for example, you have to redeclare the serial object in your code: Serial pc(SERIAL_TX, SERIAL_RX); +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH + Then, you can modify the baudrate and print like this: pc.baud(115200);