TLE5012B  3.1.0
The TLE5012B is a pre-calibrated 360° angle sensor that detects the orientation of a magnetic field. The raw signals (sine and cosine) are digitally processed internally to calculate the angle orientation of the magnetic field (magnet).
readAngleTest.cpp File Reference
Include dependency graph for readAngleTest.cpp:

readAngleTest

Testscript for a first check.

Author
Infineon Technologies AG
Version
3.1.0

This example reads all main Sensor registers (angle,revolution,speed,range and temperature) for a simple first test of the sensor and comunication.

SPDX-License-Identifier: MIT

Tle5012Wiced Tle5012Sensor = Tle5012Wiced()
 
errorTypes checkError = NO_ERROR
 
void setup ()
 
void loop ()
 
void application_start ()
 

Function Documentation

◆ setup()

void setup ( )
Here is the call graph for this function:

◆ loop()

void loop ( )
Here is the call graph for this function:

◆ application_start()

void application_start ( )
Here is the call graph for this function:

Variable Documentation

◆ Tle5012Sensor

Tle5012Wiced Tle5012Sensor = Tle5012Wiced()

◆ checkError

errorTypes checkError = NO_ERROR