Emanuel Torres
/
TUTORIA_TORRES
OPTIMIZACION DE LOS MICROPROCESADORES PARA CAMA CALIENTE DE IMPRESORA.
main.cpp@0:ef8a050192d3, 2020-02-01 (annotated)
- Committer:
- emanueltorres
- Date:
- Sat Feb 01 20:03:30 2020 +0000
- Revision:
- 0:ef8a050192d3
PROGRAMACION PARA IMPRESORA COLIDO X3045
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
emanueltorres | 0:ef8a050192d3 | 1 | #include "mbed.h" |
emanueltorres | 0:ef8a050192d3 | 2 | |
emanueltorres | 0:ef8a050192d3 | 3 | DigitalOut myled(LED1); |
emanueltorres | 0:ef8a050192d3 | 4 | |
emanueltorres | 0:ef8a050192d3 | 5 | int main() { |
emanueltorres | 0:ef8a050192d3 | 6 | while(1) { |
emanueltorres | 0:ef8a050192d3 | 7 | myled = 1; |
emanueltorres | 0:ef8a050192d3 | 8 | wait(0.2); |
emanueltorres | 0:ef8a050192d3 | 9 | myled = 0; |
emanueltorres | 0:ef8a050192d3 | 10 | wait(0.2); |
emanueltorres | 0:ef8a050192d3 | 11 | } |
emanueltorres | 0:ef8a050192d3 | 12 | } |