Gruppe 3
/
PES4
xx
Fork of PES1 by
Roboter.h
- Committer:
- Shukle
- Date:
- 2017-04-25
- Revision:
- 17:caf5ae550f2e
- Parent:
- 10:75a18bf17c86
- Child:
- 18:6547e54ac803
File content as of revision 17:caf5ae550f2e:
#ifndef ROBOTER_H #define ROBOTER_H #include <mbed.h> #include "IRSensor.h" #include "Servo.h" #include "readCamera.h" class Roboter { public: Roboter(AnalogIn* distance, DigitalOut* bit0, DigitalOut* bit1, DigitalOut* bit2, PwmOut * pwmL, PwmOut* pwmR, Servo* s1, Servo* s2); void bandeAusweichen(); float readSensor1(); void pickup(); private: IRSensor sensors[6]; PwmOut* pwmL; PwmOut* pwmR; Servo*s1; Servo*s2; DigitalIn * switch1; DigitalIn* switch2; }; #endif