|
RobotC Mindsensors RCX Motor MUX Driver. More...
#include "common.h"
Go to the source code of this file.
Defines | |
#define | MSMTRMX_I2C_ADDR 0xB4 |
#define | MSMTRMX_MOTOR_REG 0x42 |
Enumerations | |
enum | tMSMTRMXSettings { MSMTRMX_MODE_FLOAT = 0, MSMTRMX_MODE_FORWARD = 1, MSMTRMX_MODE_REVERSE = 2, MSMTRMX_MODE_BRAKE = 3 } |
enum | tMSMTRMXMotors { MSMTRMX_M1 = 0, MSMTRMX_M2 = 1, MSMTRMX_M3 = 2, MSMTRMX_M4 = 3 } |
Functions | |
bool | MSMTRMX_Control (tSensors link, tMSMTRMXMotors channel, int power, ubyte address=MSMTRMX_I2C_ADDR) |
bool | MSMTRMX_Brake (tSensors link, tMSMTRMXMotors channel, unsigned byte brakeForce, ubyte address=MSMTRMX_I2C_ADDR) |
Variables | |
tByteArray | MSMTRMX_I2CMessage |
RobotC Mindsensors RCX Motor MUX Driver.
mindsensors-rcxmotormux.h provides an API for the Mindsensors RCX Motor MUX Driver. 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-rcxmotormux.h.