meddahi hadj
/
hadjessais
DEUXIEME PROG
main.cpp
- Committer:
- meddahihadj
- Date:
- 2015-02-19
- Revision:
- 1:32ebac4d3716
- Parent:
- 0:a1c8577f66c5
File content as of revision 1:32ebac4d3716:
#include "mbed.h" #include "Servo.h" DigitalOut allumLED(LED1); int main () { Serial pc(USBTX,USBRX); //: int main(){ while(1) { Serial pc(USBTX, USBRX); // tx, rx //Serial pc(USBTX, USBRX); //int main() { pc.printf("hadj test\n"); while(1) { pc.putc(pc.getc() + 1); } allumLED=1; wait(0.5); allumLED=0; wait(1); //Servo::write(0.2) } }