
rtos test
Fork of rtos-test by
bldc/bldc.h
- Committer:
- machines94
- Date:
- 2016-05-14
- Revision:
- 1:ae213d6a0adf
File content as of revision 1:ae213d6a0adf:
#ifndef BLDC_H #define BLDC_H #include "mbed.h" #include "i2c_helper.h" class bldc { public: bldc(I2C* i2c, int addr); void bldc::duty(char dutyMSB, char dutyLSB); ~bldc(); private: void init_cmd(); i2c_helper* _i2c; char cmd[10]; }; #endif