Final Version from RoboticHackathon 4.-5. April 2015
Dependencies: Autopilot dillerdasker Rfid mbed
Fork of RoboticHackathon2 by
hack_motor.h
- Committer:
- iLyngklip
- Date:
- 2014-04-07
- Revision:
- 2:b996c95912b5
- Parent:
- 1:e854d5c12659
File content as of revision 2:b996c95912b5:
#ifndef HACK_MOTOR_H #define HACK_MOTOR_H #include "mbed.h" class Wheel { public: PwmOut M1A, M2A; PwmOut GrabA; PwmOut HejsA; DigitalOut M1B, M2B, GrabB, HejsB; Wheel(); void FW(); void BW(); void right(); void left(); void stop(); void init(); void open(); void close(); void hejs(); void saenk(); void venSelv1(); void venSelv2(); void venSelv3(); void venSelv4(); float speed; protected: float fw, bw; }; #endif