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

mindsensors-rcxsensorsmux.h File Reference

Mindsensors MSRXMUX RCX Sensor MUX Sensor driver. More...

#include "common.h"

Go to the source code of this file.

Defines

#define MSRXMUX_I2C_ADDR   0x7E
#define MSRXMUX_CHAN1   0xFE
#define MSRXMUX_CHAN2   0xFD
#define MSRXMUX_CHAN3   0xFB
#define MSRXMUX_CHAN4   0xF7
#define MSRXMUX_NONE   0xFF

Functions

void MSRXMUXsetupChan (tSensors link, ubyte chan, TSensorTypes chantype, TSensorModes chanmode, ubyte delay)
int MSRXMUXreadChan (tSensors link, byte chan)

Variables

tByteArray MSRXMUX_I2CRequest
TSensorTypes RCXSensorTypes [4][4]
TSensorModes RCXSensorModes [4][4]
ubyte RCXSensorDelays [4][4] = {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}}

Detailed Description

Mindsensors MSRXMUX RCX Sensor MUX Sensor driver.

mindsensors-rcxsensorsmux.h provides an API for the Mindsensors MSRXMUX RCX Sensor MUX 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:
30 August 2009
Version:
0.1

Definition in file mindsensors-rcxsensorsmux.h.