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: EthernetInterface TextLCD USBDevice USBHost mbed
i2cAccess.h
- Committer:
- sayzyas
- Date:
- 2018-07-26
- Revision:
- 1:fdf87a1a724b
- Parent:
- 0:19075177391c
File content as of revision 1:fdf87a1a724b:
class i2cAccess
{
private:
public:
bool flg_motor_lock;
/*
7: -
6:
5: LB transform reverse
4: LB transform forward
3: RF transform reverse
2: RF transform forward
1: winch motor reverse
0: winch motor forward
*/
i2cAccess();
bool i2c_read( int , const char* , int );
bool i2c_write( int , const char* , int );
int16_t i2cReadMotorCurrent( int32_t, int, int, int, int );
int16_t i2cReadInformation( int32_t, int );
bool i2cGetMotorCurrent( int32_t, int8_t, int8_t );
bool i2cSetMotorThreshold( int32_t, int8_t, int8_t, int16_t );
bool i2cClearMLCnt( int32_t );
};