Narshil tibbers
/
ExampleCLasses
Simple example of Classes
Diff: FunctionsStuff.cpp
- Revision:
- 0:8161780f82c0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/FunctionsStuff.cpp Tue Sep 26 08:44:20 2017 +0000 @@ -0,0 +1,10 @@ +#include "mbed.h" +#include "FastLoop.h" + + +DigitalOut ledy1(p8); + +void setLEDstate(int state) +{ + ledy1.write(state); +} \ No newline at end of file