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.
main.cpp
- Committer:
- titig
- Date:
- 2020-11-01
- Revision:
- 1:aa3ea7b4673e
- Parent:
- 0:c7ce501d534b
- Child:
- 2:a98660025857
File content as of revision 1:aa3ea7b4673e:
#include "mbed.h" DigitalOut trafficYellowlight(p5); //Yellow light pin declaration DigitalIn pedestrainButton(p8); //Switch button pin declaration int main() { while(1) { trafficYellowlight=1; //Initialize Yellow light to ON wait_ms(500); } }