ajout module_mouvement
Dependencies: mbed xbee_lib ADXL345_I2C IMUfilter ITG3200 Motor RangeFinder Servo mbos PID
Fork of Labo_TRSE_Drone by
main.cpp@0:8d93a5e4e4ab, 2013-01-30 (annotated)
- Committer:
- NicolasH
- Date:
- Wed Jan 30 16:50:46 2013 +0000
- Revision:
- 0:8d93a5e4e4ab
- Child:
- 1:73e54e43cae4
- Child:
- 2:eada20046026
Labo TRSE - Initialisation du projet Drone de surveillance
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
NicolasH | 0:8d93a5e4e4ab | 1 | #include "mbed.h" |
NicolasH | 0:8d93a5e4e4ab | 2 | |
NicolasH | 0:8d93a5e4e4ab | 3 | DigitalOut myled(LED1); |
NicolasH | 0:8d93a5e4e4ab | 4 | |
NicolasH | 0:8d93a5e4e4ab | 5 | int main() { |
NicolasH | 0:8d93a5e4e4ab | 6 | while(1) { |
NicolasH | 0:8d93a5e4e4ab | 7 | myled = 1; |
NicolasH | 0:8d93a5e4e4ab | 8 | wait(0.2); |
NicolasH | 0:8d93a5e4e4ab | 9 | myled = 0; |
NicolasH | 0:8d93a5e4e4ab | 10 | wait(0.2); |
NicolasH | 0:8d93a5e4e4ab | 11 | } |
NicolasH | 0:8d93a5e4e4ab | 12 | } |