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.
Diff: main.cpp
- Revision:
- 50:ee4398ee44be
- Parent:
- 49:880c0b9c9c64
- Child:
- 51:badef9fc202f
--- a/main.cpp Wed Jun 20 09:44:05 2018 +0000 +++ b/main.cpp Wed Jun 20 10:04:42 2018 +0000 @@ -35,7 +35,8 @@ DigitalIn station(p15); //Sensor in the middle of the station //p16 -//p17 +//ENABLE - p17 +DigitalOut enable(p17); //BUZZER - p18 DigitalOut buzz(p18); // buzz=0 doesn't beep, buzz=1 beeps @@ -931,6 +932,7 @@ //0xFFFC //1111111111111100 + enable = 1; //Led routine to start main program led1 = 1;