2018.07.26

Dependencies:   WebSocketClient

Committer:
sayzyas
Date:
Thu Jul 26 00:20:04 2018 +0000
Revision:
0:b3376afd10d8
2018.07.26

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sayzyas 0:b3376afd10d8 1 class i2cAccess
sayzyas 0:b3376afd10d8 2 {
sayzyas 0:b3376afd10d8 3 private:
sayzyas 0:b3376afd10d8 4
sayzyas 0:b3376afd10d8 5
sayzyas 0:b3376afd10d8 6 public:
sayzyas 0:b3376afd10d8 7
sayzyas 0:b3376afd10d8 8 bool flg_motor_lock;
sayzyas 0:b3376afd10d8 9 /*
sayzyas 0:b3376afd10d8 10 7: -
sayzyas 0:b3376afd10d8 11 6:
sayzyas 0:b3376afd10d8 12 5: LB transform reverse
sayzyas 0:b3376afd10d8 13 4: LB transform forward
sayzyas 0:b3376afd10d8 14 3: RF transform reverse
sayzyas 0:b3376afd10d8 15 2: RF transform forward
sayzyas 0:b3376afd10d8 16 1: winch motor reverse
sayzyas 0:b3376afd10d8 17 0: winch motor forward
sayzyas 0:b3376afd10d8 18 */
sayzyas 0:b3376afd10d8 19
sayzyas 0:b3376afd10d8 20 int16_t sp_wdram_f; // motor speed
sayzyas 0:b3376afd10d8 21 int16_t sp_wdram_r; // motor speed
sayzyas 0:b3376afd10d8 22 int16_t sp_wcabl_f; // motor speed
sayzyas 0:b3376afd10d8 23 int16_t sp_wcabl_r; // motor speed
sayzyas 0:b3376afd10d8 24
sayzyas 0:b3376afd10d8 25 int16_t drop_ammount; // Winch drop ammount
sayzyas 0:b3376afd10d8 26
sayzyas 0:b3376afd10d8 27 i2cAccess();
sayzyas 0:b3376afd10d8 28 bool i2c_read( int , const char* , int );
sayzyas 0:b3376afd10d8 29 bool i2c_write( int , const char* , int );
sayzyas 0:b3376afd10d8 30 int16_t i2cReadMotorCurrent( int32_t, int, int, int, int );
sayzyas 0:b3376afd10d8 31 int16_t i2cReadInformation( int32_t, int );
sayzyas 0:b3376afd10d8 32 bool i2cGetMotorCurrent( int32_t, int8_t, int8_t );
sayzyas 0:b3376afd10d8 33 bool i2cSetMotorThreshold( int32_t, int8_t, int8_t, int16_t );
sayzyas 0:b3376afd10d8 34 bool i2cClearMLCnt( int32_t );
sayzyas 0:b3376afd10d8 35 bool i2cReadParameters( int32_t );
sayzyas 0:b3376afd10d8 36
sayzyas 0:b3376afd10d8 37 };