Kevin Abraham
/
4180Lab1-1
ECE 4180 Lab 1 Part 1
Diff: main.cpp
- Revision:
- 0:afec98f6d845
diff -r 000000000000 -r afec98f6d845 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Oct 09 00:33:11 2018 +0000 @@ -0,0 +1,11 @@ +#include "mbed.h" + +DigitalOut myled(p22); +DigitalIn pb(p8); + +int main() +{ + while(1) { + myled = !pb; + } +}