Seguilinea
Dependencies: HCSR04 X_NUCLEO_IHM12A1 mbed
PLT_DCmotorShield_IHM12A1/MotorShieldIHM12A1.h
- Committer:
- PaoloGiovanni99
- Date:
- 2018-02-17
- Revision:
- 0:9bd4730782f9
File content as of revision 0:9bd4730782f9:
/**************************************************** * FAST PROTOTYPING WITH NUCLEO * * Author: Francesco Caiazzo * * Organization: Perlatecnica no-profit organization * *****************************************************/ #ifndef MOTOR_SHIELDIHM12A1_H #define MOTOR_SHIELDIHM12A1_H #include "stspin240_250_class.h" class MotorShieldIHM12A1 { public: // Crea un'istanza di MotorShield MotorShieldIHM12A1(); void motorSpeed(unsigned int ID, int8_t speed); void motorStop(unsigned int ID); void motorReset(void); void turn(int8_t direction, int8_t speed); private: Stspin240_250_Init_t initDeviceParameters; STSPIN240_250 *motor; }; #endif