Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: CalibrateMagneto QuaternionMath
Fork of SML2 by
MotorDriver.h
00001 #ifndef _H_MOTOR_H 00002 #define _H_MOTOR_H 00003 00004 #include "I2CPeripheral.h" 00005 00006 class MotorDriver : public I2CPeripheral 00007 { 00008 public: 00009 MotorDriver(I2C &i2c, const uint8_t address, PinName interruptPin); 00010 void setVoltage(float voltage); 00011 MotorDriver& operator=(const float voltage); 00012 00013 private: 00014 InterruptIn faultLine; 00015 }; 00016 00017 #endif//_H_MOTOR_H
Generated on Wed Jul 13 2022 08:50:41 by
