a

Dependencies:   Locate Move Servo button mbed

Fork of 3rdcompfixstart by 涼太郎 中村

Committer:
choutin
Date:
Wed Sep 07 09:42:54 2016 +0000
Revision:
12:456d651ef4f0
Parent:
10:118d86939032
Child:
14:0629ab54765c
a

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sakanakuuun 0:f12d257b587e 1 #include "mbed.h"
choutin 3:56b034c41dc5 2 #include "math.h"
sakanakuuun 4:1604d599d40f 3 #include "locate.h"
sakanakuuun 4:1604d599d40f 4 #include "move.h"
choutin 12:456d651ef4f0 5 #include "servo.h"
choutin 12:456d651ef4f0 6 #include "button.h"
choutin 3:56b034c41dc5 7
choutin 12:456d651ef4f0 8
sakanakuuun 9:94aa6a12b730 9
sakanakuuun 4:1604d599d40f 10 int main()
sakanakuuun 4:1604d599d40f 11 {
sakanakuuun 4:1604d599d40f 12 setup();
sakanakuuun 4:1604d599d40f 13 initmotor();
sakanakuuun 8:21f40f92215f 14
choutin 12:456d651ef4f0 15 while(1){
choutin 12:456d651ef4f0 16 armdegree(12*phaseSW());
choutin 12:456d651ef4f0 17 handdegree(12*phaseSW());
choutin 12:456d651ef4f0 18 beltdegree(12*phaseSW());
sakanakuuun 9:94aa6a12b730 19 }
choutin 3:56b034c41dc5 20 }