Sungwoo Kim
/
HydraulicControlBoard_Learning
for learning
Diff: I2C_AS5510/I2C_AS5510.h
- Revision:
- 0:51c43836c1d7
diff -r 000000000000 -r 51c43836c1d7 I2C_AS5510/I2C_AS5510.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/I2C_AS5510/I2C_AS5510.h Wed Aug 14 08:13:36 2019 +0000 @@ -0,0 +1,12 @@ +#ifndef _I2C_AS5510_H_ +#define _I2C_AS5510_H_ + +#include "mbed.h" +#include "setting.h" + +void look_for_hardware_i2c(); +void init_as5510(int i2c_address); +int offset_comp(int i2c_address); +void read_field(int i2c_address); + +#endif