![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Template project for University of York ELE00032C Lab 7
main.cpp
- Committer:
- ajp109
- Date:
- 2021-02-04
- Revision:
- 1:acb591685a28
- Parent:
- 0:77209603a6fe
File content as of revision 1:acb591685a28:
#include "mbed.h" DigitalOut green(D2); DigitalOut red(D3); int main() { while (true) { green = true; thread_sleep_for(500); green = false; thread_sleep_for(2500); } }