|
Mindsensors Angle Sensor driver. More...
#include "common.h"
Go to the source code of this file.
Defines | |
#define | MSANG_I2C_ADDR 0x30 |
#define | MSANG_CMD_REG 0x41 |
#define | MSANG_OFFSET 0x42 |
#define | MSANG_ANG 0x00 |
#define | MSANG_RAW 0x04 |
#define | MSANG_RPM 0x08 |
#define | MSANG_CMD_RST_ANG 0x72 |
Functions | |
int | MSANGreadAngle (tSensors link) |
int | MSANGreadRPM (tSensors link) |
int | MSANGreadRaw (tSensors link) |
bool | MSANGresetAngle (tSensors link) |
Variables | |
tByteArray | MSANG_I2CRequest |
tByteArray | MSANG_I2CReply |
Mindsensors Angle Sensor driver.
mindsensors-angle.h provides an API for the Mindsensors Angle Sensor.
Changelog:
Credits:
License: You may use this code as you wish, provided you give credit where its due.
THIS CODE WILL ONLY WORK WITH ROBOTC VERSION 3.59 AND HIGHER.
Definition in file mindsensors-angle.h.