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: mbed MMA8452Q MS5837 SDFileSystem SCI_SENSOR
Diff: main.cpp
- Revision:
- 28:55b04fb61809
- Parent:
- 27:e0943cb83251
- Child:
- 29:48534309e09d
diff -r e0943cb83251 -r 55b04fb61809 main.cpp --- a/main.cpp Wed Dec 08 19:35:16 2021 +0000 +++ b/main.cpp Wed Dec 08 19:39:15 2021 +0000 @@ -11,6 +11,7 @@ DigitalOut led1(LED1); DigitalOut led2(LED2); +DigitalOut led3(LED3); Serial pc(USBTX, USBRX); //initial serial Serial BLE(p13,p14); //Bluetooth @@ -89,6 +90,8 @@ accel_ticker.attach(&accel_update,0.1); //10Hz log_ticker.attach(&log_data,0.5); wait(1); + led1=0; + led2=0; //Part One int count=0;