Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FXOS8700CQ HIH6130 IS31SE5000 MAG3110 MAX44000 MAX44005 MAX44008 MMA8451Q MMA8452Q MPL3115A2 VEML6040 VEML6075 mbed vt100 LM75B FXAS21002 MAX30101 VCNL4020 VCNL4100
Diff: testSensor.cpp
- Revision:
- 13:91e4be27e7c1
- Parent:
- 12:b3dff3bbb1eb
- Child:
- 14:1e6e4fdf90d0
diff -r b3dff3bbb1eb -r 91e4be27e7c1 testSensor.cpp
--- a/testSensor.cpp Fri Feb 24 04:25:10 2017 +0000
+++ b/testSensor.cpp Fri Mar 10 04:19:05 2017 +0000
@@ -273,7 +273,11 @@
int main() {
char cmd[32] ;
- tty = new vt100() ;
+ uint32_t baud = 115200 ;
+#if defined (TARGET_MAX32600MBED)
+baud = 57600 ;
+#endif
+ tty = new vt100(baud) ;
tty->cls() ;
doHelp() ;
while(1) {