Implement sensor fusion algorithm based on LSM9DS1 IMU.

Dependencies:   mbed

Fork of LSM9DS1_project by 曾 宗圓

AS5145.h

Committer:
middleyuan
Date:
2018-04-24
Revision:
2:c889fecf9afe
Parent:
1:b1562831bbaf

File content as of revision 2:c889fecf9afe:

#ifndef AS5145_H
#define AS5145_H

#include "mbed.h"

extern SPI spi;
extern DigitalOut CS;
extern SPI spi2;
extern DigitalOut CS2;

extern int position[2];
extern int position_old[2];
extern short low_byte;
extern short high_byte;

extern void ReadValue(void);
extern bool AS5145_begin(void);


#endif