![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Prueba con Mbed
main.cpp@0:375e86be520e, 2018-06-11 (annotated)
- Committer:
- crisgonesc
- Date:
- Mon Jun 11 10:28:06 2018 +0000
- Revision:
- 0:375e86be520e
Prueba_con_Mbed
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
crisgonesc | 0:375e86be520e | 1 | #include "mbed.h" |
crisgonesc | 0:375e86be520e | 2 | |
crisgonesc | 0:375e86be520e | 3 | DigitalOut myled(LED1); |
crisgonesc | 0:375e86be520e | 4 | |
crisgonesc | 0:375e86be520e | 5 | int main() { |
crisgonesc | 0:375e86be520e | 6 | while(1) { |
crisgonesc | 0:375e86be520e | 7 | myled = 1; |
crisgonesc | 0:375e86be520e | 8 | wait(0.2); |
crisgonesc | 0:375e86be520e | 9 | myled = 0; |
crisgonesc | 0:375e86be520e | 10 | wait(0.2); |
crisgonesc | 0:375e86be520e | 11 | } |
crisgonesc | 0:375e86be520e | 12 | } |