[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).

Dependencies:   mbed FastPWM

I2C_AS5510/I2C_AS5510.h

Committer:
jobuuu
Date:
2021-04-21
Revision:
230:2c3e5ecbe7e1
Parent:
0:51c43836c1d7

File content as of revision 230:2c3e5ecbe7e1:

#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