projet-lievres
/
lora-project
Code du projet lièvres pour LoRa
main.cpp@0:b239f8883fcc, 2016-10-05 (annotated)
- Committer:
- bLandais
- Date:
- Wed Oct 05 12:59:54 2016 +0000
- Revision:
- 0:b239f8883fcc
- Child:
- 1:bddab1c9c632
initial
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bLandais | 0:b239f8883fcc | 1 | #include "mbed.h" |
bLandais | 0:b239f8883fcc | 2 | |
bLandais | 0:b239f8883fcc | 3 | DigitalOut led1(LED3); |
bLandais | 0:b239f8883fcc | 4 | |
bLandais | 0:b239f8883fcc | 5 | int main() { |
bLandais | 0:b239f8883fcc | 6 | while(true) { |
bLandais | 0:b239f8883fcc | 7 | led1 = !led1; |
bLandais | 0:b239f8883fcc | 8 | Thread::wait(100); |
bLandais | 0:b239f8883fcc | 9 | } |
bLandais | 0:b239f8883fcc | 10 | } |