AresENSEA-CDF2020
/
AresCDFMainCode_capteur_US
Capteur_US
Diff: main.cpp
- Revision:
- 12:2c312916a621
- Parent:
- 10:0714feaaaee1
- Child:
- 13:a72b0752aa6f
diff -r e62133022f88 -r 2c312916a621 main.cpp --- a/main.cpp Fri Sep 11 11:11:56 2020 +0000 +++ b/main.cpp Fri Sep 11 13:47:56 2020 +0000 @@ -31,6 +31,8 @@ //ticker_affUS.attach(&affUltrasons,1.0); ticker_affcd.attach(&affCodeurs,1.0); //tickTest.attach(&test4,0.1); + ticker_odo.attach(&odometrie,0.2); + ticker_affodo.attach(&affOdo,1); // Init capteurs à ultrasons captUS_init(); @@ -57,7 +59,7 @@ cddA.mode(PullUp); // Odometrie - + while(1) {}