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).
writeRegisters.cpp File Reference
Include dependency graph for writeRegisters.cpp:

writeRegisters

Testscript for a writing register settings.

Author
Infineon Technologies AG
Version
3.1.0

This example show how to use the register write functions of the sensor, to change certain bits with deafult low speed 9600 baud comunication and standard sensor settings

SPDX-License-Identifier: MIT

Tle5012Wiced Tle5012Sensor = Tle5012Wiced()
 
errorTypes checkError = NO_ERROR
 
bool s = true
 
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

◆ s

bool s = true