![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
ほぼ完成
Fork of f3rc_3_auto_lintrace_905 by
Diff: main.cpp
- Revision:
- 0:260f1d62f487
- Child:
- 1:0fe1b3af8053
diff -r 000000000000 -r 260f1d62f487 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Aug 23 03:09:55 2018 +0000 @@ -0,0 +1,26 @@ +#include "mbed.h" +#include "math.h" +DigitalIn cylinder(p9,PullUp); +DigitalIn cylindert(p10,PullUp); +DigitalIn encoder1a(p11); +DigitalIn encoder1b(p12); +DigitalIn encoder2a(p13); +DigitalIn encoder2b(p14); +AnalogIn LBR1(p17,PullUp); +AnalogIn LBR2(p18,PullUp); +AnalogIn LBR3(p19,PullUp); +AnalogIn LBR4(p20,PullUp); +PwmOut servo12(p21); +PwmOut servo3(p22); +PwmOut motor1(p25); +PwmOut motor2(p26); +DigitalIn motor1cw(p27,PullUp); +DigitalIn motor2cw(p28,PullUp); + + + + +int main() +{ + +} \ No newline at end of file