Hisyam Sulaiman
/
lab1_led
lab1
Diff: main.cpp
- Revision:
- 0:f5005147a60b
diff -r 000000000000 -r f5005147a60b main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu May 17 06:57:01 2018 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + +BusOut Pattern(D9,D13); + + +int main() { + while(1){ + Pattern = 1; + wait(0.2); + Pattern = 10; + wait(0.2); +} +}