Lab that has to do with basic IO on mbed.
Dependencies: DebounceIn mbed PinDetect
JessesLab1/main.cpp
- Committer:
- gtzintzarov3
- Date:
- 2016-01-19
- Revision:
- 44:30abfd5d24f2
- Parent:
- 43:a07c473ee4c7
- Child:
- 45:6f60aac74257
File content as of revision 44:30abfd5d24f2:
/* <- remove this if you want to code this and comment Georges #include "mbed.h" #include "DebounceIn.h" #include "PinDetect.h" PinDetect light(p8); PwmOut led(p21); int main() { light.mode(PullUp); while(1) { led.write(!light); } }*/