Robot fou
Embed:
(wiki syntax)
Show/hide line numbers
globals.cpp
00001 #include "mbed.h" 00002 #include "SRF05.h" 00003 00004 00005 //Affectation broches capteur distance 00006 SRF05 srf(p27, p28); 00007 00008 //Affectation broches moteurs 00009 DigitalOut SensD(p11); 00010 DigitalOut SensG(p12); 00011 BusOut leds(LED1,LED2,LED3,LED4); 00012 PwmOut MotD(p22); 00013 PwmOut MotG(p23); 00014 AnalogIn Vbat(p15); 00015 //Ticker t1; 00016 Ticker t2;
Generated on Sat Jul 16 2022 18:24:34 by
1.7.2