class

Dependencies:   Motor

Dependents:  

Committer:
tamashy
Date:
Thu Oct 06 19:48:07 2016 +0000
Revision:
0:8ef7bf17d224
blah; ;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tamashy 0:8ef7bf17d224 1 #include "DumpTruck.h"
tamashy 0:8ef7bf17d224 2 #include "mbed.h"
tamashy 0:8ef7bf17d224 3 #include "Motor.h"
tamashy 0:8ef7bf17d224 4
tamashy 0:8ef7bf17d224 5 Serial pc(USBTX, USBRX);
tamashy 0:8ef7bf17d224 6
tamashy 0:8ef7bf17d224 7 DumpTruck::DumpTruck(Truck t) : _t(t) {
tamashy 0:8ef7bf17d224 8 _t = 0;]
tamashy 0:8ef7bf17d224 9
tamashy 0:8ef7bf17d224 10 void DumpTruck::drive()
tamashy 0:8ef7bf17d224 11 {
tamashy 0:8ef7bf17d224 12 pc.printf("drive()");
tamashy 0:8ef7bf17d224 13 }
tamashy 0:8ef7bf17d224 14 void DumpTruck::rotate();
tamashy 0:8ef7bf17d224 15 { pc.printf("rotate()");
tamashy 0:8ef7bf17d224 16 }
tamashy 0:8ef7bf17d224 17 void DumpTruck:BedDown();
tamashy 0:8ef7bf17d224 18 {
tamashy 0:8ef7bf17d224 19 pc.printf("BedDown()");
tamashy 0:8ef7bf17d224 20 }
tamashy 0:8ef7bf17d224 21 void DumpTruck:LowerBed();
tamashy 0:8ef7bf17d224 22 {
tamashy 0:8ef7bf17d224 23 pc.printf("LowerBed()");
tamashy 0:8ef7bf17d224 24 }
tamashy 0:8ef7bf17d224 25 void DumpTruck:raiseTo(angle);
tamashy 0:8ef7bf17d224 26 {