![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Roboter
Roboter.h
- Committer:
- itslinear
- Date:
- 2017-04-04
- Revision:
- 1:4e84271a70c6
- Parent:
- 0:306a2438de17
- Child:
- 2:953263712480
File content as of revision 1:4e84271a70c6:
#ifndef ROBOTER_H #define ROBOTER_H #include <mbed.h> #include "IRSensor.h" class Roboter { public: Roboter(AnalogIn* distance, DigitalOut* bit0, DigitalOut* bit1, DigitalOut* bit2, PwmOut * pwmL, PwmOut* pwmR); void bandeAusweichen(); float readSensor1(); private: IRSensor sensors[6]; PwmOut* pwmL; PwmOut* pwmR; }; #endif