Arduino Examples

You can find these examples also in the Arduino IDE by navigating to File -> Examples -> XENSIV TLx5012B Angle Sensor.

Example

Summary

E9000SPC <example-E9000SPC.rst>

readAngleSpeedRevolutions <example-readAngleSpeedRevolutions.rst>

readAngleTest <example-readAngleTest.rst>

readAngleValueProcessing <example-readAngleValueProcessing.rst>

readMultipleRegisters <example-readMultipleRegisters.rst>

readSpeedProcessing <example-readSpeedProcessing.rst>

sensorRegisters <example-sensorRegisters.rst>

sensorType <example-sensorType.rst>

snapshotSensorValues <example-snapshotSensorValues.rst>

useMultipleSPIChannels <example-useMultipleSPIChannels.rst>

useMultipleSensors <example-useMultipleSensors.rst>

writeRegisters <example-writeRegisters.rst>

Processing Examples

There are also some programs based on the Processing language. These programs are using the serial communication to the sensor either with the Example to read the Angle and process the Value or the Example to read the Speed example.

To run this games the needed Arduino example has to be uploaded to the TLE5012B E1xxx 2GO Kits and a special joystick with a magnet has to be used.

Example

Summary

Ball_Bat <Ball_Bat.rst>

Bouncing_Ball_Game <Bouncing_Ball_Game.rst>

Circle <Circle.rst>

Make_Spiral <Make_Spiral.rst>

Snake <Snake.rst>

Snake_Like_Game <Snake_Like_Game.rst>

pong <pong.rst>

speed <speed.rst>