PROYECTO FINAL CAMBIO DE PANTALLAS EN LCD CON INTERRUPCIONES
Dependencies: mbed MEDIDORCORRIENTEVOLTAJEYPOTENCIA
main.cpp@0:231de6a0410e, 2020-02-01 (annotated)
- Committer:
- dibbrowing
- Date:
- Sat Feb 01 20:00:58 2020 +0000
- Revision:
- 0:231de6a0410e
- Child:
- 1:33b50d1fb58c
WHILE ANIDADO
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dibbrowing | 0:231de6a0410e | 1 | #include "mbed.h" |
dibbrowing | 0:231de6a0410e | 2 | |
dibbrowing | 0:231de6a0410e | 3 | DigitalOut myled(LED1); |
dibbrowing | 0:231de6a0410e | 4 | |
dibbrowing | 0:231de6a0410e | 5 | int main() { |
dibbrowing | 0:231de6a0410e | 6 | while(1) { |
dibbrowing | 0:231de6a0410e | 7 | myled = 1; |
dibbrowing | 0:231de6a0410e | 8 | wait(0.2); |
dibbrowing | 0:231de6a0410e | 9 | myled = 0; |
dibbrowing | 0:231de6a0410e | 10 | wait(0.2); |
dibbrowing | 0:231de6a0410e | 11 | } |
dibbrowing | 0:231de6a0410e | 12 | } |