Mindstorms 3rd Party ROBOTC Drivers RobotC
[Home] [Download] [Submit a bug/suggestion] [ROBOTC Forums] [Blog] [Support this project]
Defines | Functions | Variables

mindsensors-sensormux.h File Reference

Mindsensors SensorMUX Sensor driver. More...

#include "common.h"

Go to the source code of this file.

Defines

#define MSMX_I2C_ADDR   0x24
#define MSMX_REG_CHANSEL   0x42
#define MSMX_REG_VOLTAGE   0x43

Functions

void MSSMUXsetChan (tSensors link, int channel)
int MSSMUXreadBattery (tSensors link)

Variables

tByteArray MSMX_I2CRequest
tByteArray MSMX_I2CReply

Detailed Description

Mindsensors SensorMUX Sensor driver.

mindsensors-sensormux.h provides an API for the Mindsensors SensorMUX 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.

Author:
Xander Soldaat (xander_at_botbench.com)
Date:
02 March 2013
Version:
0.1

Definition in file mindsensors-sensormux.h.