[Ver 1.0] The code was given by Seunghoon shin, used for hydraulic quadrupedal robot. Buyoun Cho will revise the code for Post-LIGHT (the robot name is not determined yet).
I2C_AS5510/I2C_AS5510.h@230:2c3e5ecbe7e1, 2021-04-21 (annotated)
- Committer:
- jobuuu
- Date:
- Wed Apr 21 04:20:39 2021 +0000
- Revision:
- 230:2c3e5ecbe7e1
- Parent:
- 0:51c43836c1d7
Synchronize to HCB_210420 (MZ-board)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
GiJeongKim | 0:51c43836c1d7 | 1 | #ifndef _I2C_AS5510_H_ |
GiJeongKim | 0:51c43836c1d7 | 2 | #define _I2C_AS5510_H_ |
GiJeongKim | 0:51c43836c1d7 | 3 | |
GiJeongKim | 0:51c43836c1d7 | 4 | #include "mbed.h" |
GiJeongKim | 0:51c43836c1d7 | 5 | #include "setting.h" |
GiJeongKim | 0:51c43836c1d7 | 6 | |
GiJeongKim | 0:51c43836c1d7 | 7 | void look_for_hardware_i2c(); |
GiJeongKim | 0:51c43836c1d7 | 8 | void init_as5510(int i2c_address); |
GiJeongKim | 0:51c43836c1d7 | 9 | int offset_comp(int i2c_address); |
GiJeongKim | 0:51c43836c1d7 | 10 | void read_field(int i2c_address); |
GiJeongKim | 0:51c43836c1d7 | 11 | |
GiJeongKim | 0:51c43836c1d7 | 12 | #endif |