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

mindsensors-touchmux.h File Reference

Mindsensors Touch Multiplexer Sensor driver. More...

#include "common.h"

Go to the source code of this file.

Defines

#define MSTMUX_LOW_1   60
#define MSTMUX_HIGH_1   160
#define MSTMUX_LOW_2   210
#define MSTMUX_HIGH_2   290
#define MSTMUX_LOW_12   370
#define MSTMUX_HIGH_12   460
#define MSTMUX_LOW_3   500
#define MSTMUX_HIGH_3   599
#define MSTMUX_LOW_13   600
#define MSTMUX_HIGH_13   658
#define MSTMUX_LOW_23   659
#define MSTMUX_HIGH_23   723
#define MSTMUX_LOW_123   724
#define MSTMUX_HIGH_123   800
#define MSTMUX_SMUX_LOW_1   163
#define MSTMUX_SMUX_HIGH_1   203
#define MSTMUX_SMUX_LOW_2   263
#define MSTMUX_SMUX_HIGH_2   303
#define MSTMUX_SMUX_LOW_12   373
#define MSTMUX_SMUX_HIGH_12   413
#define MSTMUX_SMUX_LOW_3   473
#define MSTMUX_SMUX_HIGH_3   513
#define MSTMUX_SMUX_LOW_13   523
#define MSTMUX_SMUX_HIGH_13   563
#define MSTMUX_SMUX_LOW_23   568
#define MSTMUX_SMUX_HIGH_23   598
#define MSTMUX_SMUX_LOW_123   603
#define MSTMUX_SMUX_HIGH_123   643

Functions

int MSTMUXgetActive (tSensors link)
bool MSTMUXisActive (tSensors link, int touch)
int MSTMUXgetActive (tMUXSensor muxsensor)
bool MSTMUXisActive (tMUXSensor muxsensor, int touch)

Detailed Description

Mindsensors Touch Multiplexer Sensor driver.

mindsensors-touchmux.h provides an API for the Mindsensors Touch Multiplexer 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:
24 March 2009
Version:
0.2

Definition in file mindsensors-touchmux.h.