Diana Saveh
/
led
Library A: LED library to controll the led on the Happy Gecko.
main1.cpp
- Committer:
- diana_s
- Date:
- 2018-02-12
- Revision:
- 1:55b5e6d28fb3
- Parent:
- 0:3cabc617d433
File content as of revision 1:55b5e6d28fb3:
#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); }