TLI493D  2.0.1
With this Sensor, you can detect the position of a Joystick etc. without any additional mechanical components. You just have to provide a magnet that is fixed to a movable component.
BusInterface2.h
Go to the documentation of this file.
1 #ifndef TLI493D_BUSIF_2_H_INCLUDED
2 #define TLI493D_BUSIF_2_H_INCLUDED
3 
4 #include "BusInterface.h"
5 
6 #define BUS_ERROR 1
7 #define BUS_OK 0
8 
9 namespace tli493d
10 {
11 
12 void initInterface(BusInterface_t *interface, TwoWire *bus, uint8_t adress, const uint8_t *resetValues);
13 bool readOut(BusInterface_t *interface);
14 bool readOut(BusInterface_t *interface, uint8_t count);
15 bool writeOut(BusInterface_t *interface, uint8_t regAddr);
16 }
17 
18 #endif
void initInterface(BusInterface_t *interface, TwoWire *bus, uint8_t adress, const uint8_t *resetValues)
Definition: BusInterface.cpp:3
const uint8_t resetValues[]
Definition: Tli493d_conf.h:149
Definition: BusInterface.h:9
bool readOut(BusInterface_t *interface)
Definition: BusInterface.cpp:15
bool writeOut(BusInterface_t *interface, uint8_t regAddr)
Definition: BusInterface.cpp:44