Diana Saveh
/
led
Library A: LED library to controll the led on the Happy Gecko.
main1.cpp
- Committer:
- diana_s
- Date:
- 2017-11-18
- Revision:
- 0:3cabc617d433
File content as of revision 0:3cabc617d433:
#include "LED.h" #include "mbed.h" LED gpio(LED0); int main() { /*gpio.ledOn(); wait(0.2); gpio.ledOff(); wait(0.2); gpio.toggle(); */ gpio.blink(0.3); }