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 ADS1115 StepperMotor SRF05 TPA81new
Diff: main.cpp
- Revision:
- 38:fea0806e214a
- Parent:
- 37:f0b535131cbf
- Child:
- 39:1c067e2e2820
--- a/main.cpp Thu Feb 07 12:05:16 2019 +0000 +++ b/main.cpp Thu Feb 07 12:29:26 2019 +0000 @@ -139,16 +139,17 @@ wait(1); led_api = 1; - pc.printf("led api on"); + pc.printf("led api on\n"); wait(0.2); led_api = 0; - pc.printf("led api off"); + pc.printf("led api off\n"); led_sound = 1; - pc.printf("led sound on"); + pc.printf("led sound on\n"); wait(0.2); led_sound = 0; - pc.printf("led sound off"); + pc.printf("led sound off\n"); + wait(0.5); pc.printf("\033[2J\033[H"); } }