MindSensors API Functions
[Third-party NXT devices]

Functions for accessing and modifying MindSensors devices. More...

Modules

 MindSensors device constants
 

Constants that are for use with MindSensors devices.


Defines

#define ReadSensorMSCompass(_port, _i2caddr, _value)   __ReadSensorMSCompass(_port, _i2caddr, _value)
 Read mindsensors compass value.
#define ReadSensorMSDROD(_port, _value)   __ReadSensorMSDROD(_port, _value)
 Read mindsensors DROD value.
#define SetSensorMSDRODActive(_port)   __SetSensorMSDRODActive(_port)
 Configure a mindsensors DROD active sensor.
#define SetSensorMSDRODInactive(_port)   __SetSensorMSDRODInactive(_port)
 Configure a mindsensors DROD inactive sensor.
#define ReadSensorNXTSumoEyes(_port, _value)   __ReadSensorNXTSumoEyes(_port, _value)
 Read mindsensors NXTSumoEyes value.
#define SetSensorNXTSumoEyesLong(_port)   __SetSensorNXTSumoEyesLong(_port)
 Configure a mindsensors NXTSumoEyes long range sensor.
#define SetSensorNXTSumoEyesShort(_port)   __SetSensorNXTSumoEyesShort(_port)
 Configure a mindsensors NXTSumoEyes short range sensor.
#define ReadSensorMSPressureRaw(_port, _value)   __ReadSensorMSPressureRaw(_port, _value)
 Read mindsensors raw pressure value.
#define ReadSensorMSPressure(_port, _value)   __ReadSensorMSPressure(_port, _value)
 Read mindsensors processed pressure value.
#define SetSensorMSPressure(_port)   __SetSensorMSPressure(_port)
 Configure a mindsensors pressure sensor.
#define SetSensorMSTouchMux(_port)   __SetSensorMSTouchMux(_port)
 Configure a mindsensors touch sensor multiplexer.
#define ReadSensorMSAccel(_port, _i2caddr, _x, _y, _z, _result)   __ReadSensorMSAccel(_port, _i2caddr, _x, _y, _z, _result)
 Read mindsensors acceleration values.
#define ReadSensorMSPlayStation(_port, _i2caddr, _b1, _b2, _xleft, _yleft, _xright, _yright, _result)   __ReadSensorMSPlayStation(_port, _i2caddr, _b1, _b2, _xleft, _yleft, _xright, _yright, _result)
 Read mindsensors playstation controller values.
#define ReadSensorMSRTClock(_port, _sec, _min, _hrs, _dow, _date, _month, _year, _result)   __ReadSensorMSRTClock(_port, _sec, _min, _hrs, _dow, _date, _month, _year, _result)
 Read mindsensors RTClock values.
#define ReadSensorMSTilt(_port, _i2caddr, _x, _y, _z, _result)   __ReadSensorMSTilt(_port, _i2caddr, _x, _y, _z, _result)
 Read mindsensors tilt values.
#define PFMateSend(_port, _i2caddr, _channel, _motors, _cmdA, _spdA, _cmdB, _spdB, _result)   __PFMateSend(_port, _i2caddr, _channel, _motors, _cmdA, _spdA, _cmdB, _spdB, _result)
 Send PFMate command.
#define PFMateSendRaw(_port, _i2caddr, _channel, _b1, _b2, _result)   __PFMateSendRaw(_port, _i2caddr, _channel, _b1, _b2, _result)
 Send raw PFMate command.
#define MSReadValue(_port, _i2caddr, _reg, _bytes, _out, _result)   __MSReadValue(_port, _i2caddr, _reg, _bytes, _out, _result)
 Read a mindsensors device value.
#define MSEnergize(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, MS_CMD_ENERGIZED, _result)
 Turn on power to device.
#define MSDeenergize(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, MS_CMD_DEENERGIZED, _result)
 Turn off power to device.
#define MSADPAOn(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, MS_CMD_ADPA_ON, _result)
 Turn on mindsensors ADPA mode.
#define MSADPAOff(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, MS_CMD_ADPA_OFF, _result)
 Turn off mindsensors ADPA mode.
#define DISTNxGP2D12(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, DIST_CMD_GP2D12, _result)
 Configure DIST-Nx as GP2D12.
#define DISTNxGP2D120(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, DIST_CMD_GP2D120, _result)
 Configure DIST-Nx as GP2D120.
#define DISTNxGP2YA02(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, DIST_CMD_GP2YA02, _result)
 Configure DIST-Nx as GP2YA02.
#define DISTNxGP2YA21(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, DIST_CMD_GP2YA21, _result)
 Configure DIST-Nx as GP2YA21.
#define ReadDISTNxDistance(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, DIST_REG_DIST, 2, _out, _result)
 Read DIST-Nx distance value.
#define ReadDISTNxMaxDistance(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, DIST_REG_DIST_MAX, 2, _out, _result)
 Read DIST-Nx maximum distance value.
#define ReadDISTNxMinDistance(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, DIST_REG_DIST_MIN, 2, _out, _result)
 Read DIST-Nx minimum distance value.
#define ReadDISTNxModuleType(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, DIST_REG_MODULE_TYPE, 1, _out, _result)
 Read DIST-Nx module type value.
#define ReadDISTNxNumPoints(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, DIST_REG_NUM_POINTS, 1, _out, _result)
 Read DIST-Nx num points value.
#define ReadDISTNxVoltage(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, DIST_REG_VOLT, 2, _out, _result)
 Read DIST-Nx voltage value.
#define ACCLNxCalibrateX(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, ACCL_CMD_X_CAL, _result)
 Calibrate ACCL-Nx X-axis.
#define ACCLNxCalibrateXEnd(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, ACCL_CMD_X_CAL_END, _result)
 Stop calibrating ACCL-Nx X-axis.
#define ACCLNxCalibrateY(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, ACCL_CMD_Y_CAL, _result)
 Calibrate ACCL-Nx Y-axis.
#define ACCLNxCalibrateYEnd(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, ACCL_CMD_Y_CAL_END, _result)
 Stop calibrating ACCL-Nx Y-axis.
#define ACCLNxCalibrateZ(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, ACCL_CMD_Z_CAL, _result)
 Calibrate ACCL-Nx Z-axis.
#define ACCLNxCalibrateZEnd(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, ACCL_CMD_Z_CAL_END, _result)
 Stop calibrating ACCL-Nx Z-axis.
#define ACCLNxResetCalibration(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, ACCL_CMD_RESET_CAL, _result)
 Reset ACCL-Nx calibration.
#define SetACCLNxSensitivity(_port, _i2caddr, _slevel, _result)   __I2CSendCmd(_port, _i2caddr, _slevel, _result)
 Set ACCL-Nx sensitivity.
#define ReadACCLNxSensitivity(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, ACCL_REG_sENS_LVL, 1, _out, _result)
 Read ACCL-Nx sensitivity value.
#define ReadACCLNxXOffset(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, ACCL_REG_X_OFFSET, 2, _out, _result)
 Read ACCL-Nx X offset value.
#define ReadACCLNxXRange(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, ACCL_REG_X_RANGE, 2, _out, _result)
 Read ACCL-Nx X range value.
#define ReadACCLNxYOffset(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, ACCL_REG_Y_OFFSET, 2, _out, _result)
 Read ACCL-Nx Y offset value.
#define ReadACCLNxYRange(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, ACCL_REG_Y_RANGE, 2, _out, _result)
 Read ACCL-Nx Y range value.
#define ReadACCLNxZOffset(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, ACCL_REG_Z_OFFSET, 2, _out, _result)
 Read ACCL-Nx Z offset value.
#define ReadACCLNxZRange(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, ACCL_REG_Z_RANGE, 2, _out, _result)
 Read ACCL-Nx Z range value.
#define PSPNxDigital(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, PSP_CMD_DIGITAL, _result)
 Configure PSP-Nx in digital mode.
#define PSPNxAnalog(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, PSP_CMD_ANALOG, _result)
 Configure PSP-Nx in analog mode.
#define ReadNXTServoPosition(_port, _i2caddr, _servo, _out, _result)   __MSReadValue(_port, _i2caddr, NXTSERVO_REG_S1_POS+(_servo*2), 2, _out, _result)
 Read NXTServo servo position value.
#define ReadNXTServoSpeed(_port, _i2caddr, _servo, _out, _result)   __MSReadValue(_port, _i2caddr, NXTSERVO_REG_S1_SPEED+_servo, 1, _out, _result)
 Read NXTServo servo speed value.
#define ReadNXTServoBatteryVoltage(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, NXTSERVO_REG_VOLTAGE, 1, _out, _result)
 Read NXTServo battery voltage value.
#define SetNXTServoSpeed(_port, _i2caddr, _servo, _speed, _result)   __MSWriteToRegister(_port, _i2caddr, NXTSERVO_REG_S1_SPEED+_servo, _speed, _result)
 Set NXTServo servo motor speed.
#define SetNXTServoQuickPosition(_port, _i2caddr, _servo, _qpos, _result)   __MSWriteToRegister(_port, _i2caddr, NXTSERVO_REG_S1_QPOS+_servo, _qpos, _result)
 Set NXTServo servo motor quick position.
#define SetNXTServoPosition(_port, _i2caddr, _servo, _pos, _result)   __MSWriteLEIntToRegister(_port, _i2caddr, _reg, _pos, _result)
 Set NXTServo servo motor position.
#define NXTServoReset(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NXTSERVO_CMD_RESET, _result)
 Reset NXTServo properties.
#define NXTServoHaltMacro(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NXTSERVO_CMD_HALT, _result)
 Halt NXTServo macro.
#define NXTServoResumeMacro(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NXTSERVO_CMD_RESUME, _result)
 Resume NXTServo macro.
#define NXTServoPauseMacro(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NXTSERVO_CMD_PAUSE, _result)
 Pause NXTServo macro.
#define NXTServoInit(_port, _i2caddr, _servo, _result)   __NXTServoInit(_port, _i2caddr, _servo, _result)
 Initialize NXTServo servo properties.
#define NXTServoGotoMacroAddress(_port, _i2caddr, _macro, _result)   __NXTServoGotoMacroAddress(_port, _i2caddr, _macro, _result)
 Goto NXTServo macro address.
#define NXTServoEditMacro(_port, _i2caddr, _result)   __NXTServoEditMacro(_port, _i2caddr, _result)
 Edit NXTServo macro.
#define NXTServoQuitEdit(_port, _result)   __MSWriteToRegister(_port, MS_ADDR_NXTSERVO_EM, NXTSERVO_EM_REG_CMD, NXTSERVO_EM_CMD_QUIT, _result)
 Quit NXTServo macro edit mode.
#define NXTHIDAsciiMode(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NXTHID_CMD_ASCII, _result)
 Set NXTHID into ASCII data mode.
#define NXTHIDDirectMode(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NXTHID_CMD_DIRECT, _result)
 Set NXTHID into direct data mode.
#define NXTHIDTransmit(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NXTHID_CMD_TRANSMIT, _result)
 Transmit NXTHID character.
#define NXTHIDLoadCharacter(_port, _i2caddr, _modifier, _character, _result)   __NXTHIDLoadCharacter(_port, _i2caddr, _modifier, _character, _result)
 Load NXTHID character.
#define NXTPowerMeterResetCounters(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NXTPM_CMD_RESET, _result)
 Reset NXTPowerMeter counters.
#define ReadNXTPowerMeterPresentCurrent(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, NXTPM_REG_CURRENT, 2, _out, _result)
 Read NXTPowerMeter present current.
#define ReadNXTPowerMeterPresentVoltage(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, NXTPM_REG_VOLTAGE, 2, _out, _result)
 Read NXTPowerMeter present voltage.
#define ReadNXTPowerMeterCapacityUsed(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, NXTPM_REG_CAPACITY, 2, _out, _result)
 Read NXTPowerMeter capacity used.
#define ReadNXTPowerMeterPresentPower(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, NXTPM_REG_POWER, 2, _out, _result)
 Read NXTPowerMeter present power.
#define ReadNXTPowerMeterTotalPowerConsumed(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, NXTPM_REG_POWER, 4, _out, _result)
 Read NXTPowerMeter total power consumed.
#define ReadNXTPowerMeterMaxCurrent(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, NXTPM_REG_MAXCURRENT, 2, _out, _result)
 Read NXTPowerMeter maximum current.
#define ReadNXTPowerMeterMinCurrent(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, NXTPM_REG_MINCURRENT, 2, _out, _result)
 Read NXTPowerMeter minimum current.
#define ReadNXTPowerMeterMaxVoltage(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, NXTPM_REG_MAXVOLTAGE, 2, _out, _result)
 Read NXTPowerMeter maximum voltage.
#define ReadNXTPowerMeterMinVoltage(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, NXTPM_REG_MINVOLTAGE, 2, _out, _result)
 Read NXTPowerMeter minimum voltage.
#define ReadNXTPowerMeterElapsedTime(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, NXTPM_REG_TIME, 4, _out, _result)
 Read NXTPowerMeter elapsed time.
#define ReadNXTPowerMeterErrorCount(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, NXTPM_REG_ERRORCOUNT, 2, _out, _result)
 Read NXTPowerMeter error count.
#define NXTLineLeaderPowerDown(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NXTLL_CMD_POWERDOWN, _result)
 Powerdown NXTLineLeader device.
#define NXTLineLeaderPowerUp(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NXTLL_CMD_POWERUP, _result)
 Powerup NXTLineLeader device.
#define NXTLineLeaderInvert(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NXTLL_CMD_INVERT, _result)
 Invert NXTLineLeader colors.
#define NXTLineLeaderReset(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NXTLL_CMD_RESET, _result)
 Reset NXTLineLeader color inversion.
#define NXTLineLeaderSnapshot(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NXTLL_CMD_SNAPSHOT, _result)
 Take NXTLineLeader line snapshot.
#define NXTLineLeaderCalibrateWhite(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NXTLL_CMD_WHITE, _result)
 Calibrate NXTLineLeader white color.
#define NXTLineLeaderCalibrateBlack(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NXTLL_CMD_BLACK, _result)
 Calibrate NXTLineLeader black color.
#define ReadNXTLineLeaderSteering(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, NXTLL_REG_STEERING, 1, _out, _result)
 Read NXTLineLeader steering.
#define ReadNXTLineLeaderAverage(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, NXTLL_REG_AVERAGE, 1, _out, _result)
 Read NXTLineLeader average.
#define ReadNXTLineLeaderResult(_port, _i2caddr, _out, _result)   __MSReadValue(_port, _i2caddr, NXTLL_REG_RESULT, 1, _out, _result)
 Read NXTLineLeader result.
#define SetNXTLineLeaderSetpoint(_port, _i2caddr, _value, _result)   __MSWriteToRegister(_port, _i2caddr, NXTLL_REG_SETPOINT, _value, _result)
 Write NXTLineLeader setpoint.
#define SetNXTLineLeaderKpValue(_port, _i2caddr, _value, _result)   __MSWriteToRegister(_port, _i2caddr, NXTLL_REG_KP_VALUE, _value, _result)
 Write NXTLineLeader Kp value.
#define SetNXTLineLeaderKiValue(_port, _i2caddr, _value, _result)   __MSWriteToRegister(_port, _i2caddr, NXTLL_REG_KI_VALUE, _value, _result)
 Write NXTLineLeader Ki value.
#define SetNXTLineLeaderKdValue(_port, _i2caddr, _value, _result)   __MSWriteToRegister(_port, _i2caddr, NXTLL_REG_KD_VALUE, _value, _result)
 Write NXTLineLeader Kd value.
#define SetNXTLineLeaderKpFactor(_port, _i2caddr, _value, _result)   __MSWriteToRegister(_port, _i2caddr, NXTLL_REG_KP_FACTOR, _value, _result)
 Write NXTLineLeader Kp factor.
#define SetNXTLineLeaderKiFactor(_port, _i2caddr, _value, _result)   __MSWriteToRegister(_port, _i2caddr, NXTLL_REG_KI_FACTOR, _value, _result)
 Write NXTLineLeader Ki factor.
#define SetNXTLineLeaderKdFactor(_port, _i2caddr, _value, _result)   __MSWriteToRegister(_port, _i2caddr, NXTLL_REG_KD_FACTOR, _value, _result)
 Write NXTLineLeader Kd factor.
#define NRLink2400(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NRLINK_CMD_2400, _result)
 Configure NRLink in 2400 baud mode.
#define NRLink4800(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NRLINK_CMD_4800, _result)
 Configure NRLink in 4800 baud mode.
#define NRLinkFlush(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NRLINK_CMD_FLUSH, _result)
 Flush NRLink buffers.
#define NRLinkIRLong(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NRLINK_CMD_IR_LONG, _result)
 Configure NRLink in IR long mode.
#define NRLinkIRShort(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NRLINK_CMD_IR_SHORT, _result)
 Configure NRLink in IR short mode.
#define NRLinkSetPF(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NRLINK_CMD_SET_PF, _result)
 Configure NRLink in power function mode.
#define NRLinkSetRCX(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NRLINK_CMD_SET_RCX, _result)
 Configure NRLink in RCX mode.
#define NRLinkSetTrain(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NRLINK_CMD_SET_TRAIN, _result)
 Configure NRLink in IR train mode.
#define NRLinkTxRaw(_port, _i2caddr, _result)   __I2CSendCmd(_port, _i2caddr, NRLINK_CMD_TX_RAW, _result)
 Configure NRLink in raw IR transmit mode.
#define ReadNRLinkStatus(_port, _i2caddr, _value, _result)   __ReadNRLinkStatus(_port, _i2caddr, _value, _result)
 Read NRLink status.
#define RunNRLinkMacro(_port, _i2caddr, _macro, _result)   __RunNRLinkMacro(_port, _i2caddr, _macro, _result)
 Run NRLink macro.
#define WriteNRLinkBytes(_port, _i2caddr, _bytes, _result)   __WriteNRLinkBytes(_port, _i2caddr, _bytes, _result)
 Write data to NRLink.
#define ReadNRLinkBytes(_port, _i2caddr, _bytes, _result)   __ReadNRLinkBytes(_port, _i2caddr, _bytes, _result)
 Read data from NRLink.
#define MSIRTrain(_port, _i2caddr, _channel, _func, _result)   __MSIRTrain(_port, _i2caddr, _channel, _func, FALSE, _result)
 MSIRTrain function.
#define MSPFComboDirect(_port, _i2caddr, _channel, _outa, _outb, _result)   __MSPFComboDirect(_port, _i2caddr, _channel, _outa, _outb, _result)
 MSPFComboDirect function.
#define MSPFComboPWM(_port, _i2caddr, _channel, _outa, _outb, _result)   __MSPFComboPWM(_port, _i2caddr, _channel, _outa, _outb, _result)
 MSPFComboPWM function.
#define MSPFRawOutput(_port, _i2caddr, _nibble0, _nibble1, _nibble2, _result)   __MSPFRawOutput(_port, _i2caddr, _nibble0, _nibble1, _nibble2, _result)
 MSPFRawOutput function.
#define MSPFRepeat(_port, _i2caddr, _count, _delay, _result)   __MSPFRepeatLastCommand(_port, _i2caddr, _count, _delay, _result)
 MSPFRepeat function.
#define MSPFSingleOutputCST(_port, _i2caddr, _channel, _out, _func, _result)   __MSPFSingleOutput(_port, _i2caddr, _channel, _out, _func, TRUE, _result)
 MSPFSingleOutputCST function.
#define MSPFSingleOutputPWM(_port, _i2caddr, _channel, _out, _func, _result)   __MSPFSingleOutput(_port, _i2caddr, _channel, _out, _func, FALSE, _result)
 MSPFSingleOutputPWM function.
#define MSPFSinglePin(_port, _i2caddr, _channel, _out, _pin, _func, _cont, _result)   __MSPFSinglePin(_port, _i2caddr, _channel, _out, _pin, _func, _cont, _result)
 MSPFSinglePin function.
#define MSPFTrain(_port, _i2caddr, _channel, _func, _result)   __MSIRTrain(_port, _i2caddr, _channel, _func, TRUE, _result)
 MSPFTrain function.
#define MSRCXSetNRLinkPort(_port, _i2caddr)   __MSRCXSetNRLink(_port, _i2caddr)
 MSRCXSetIRLinkPort function.
#define MSRCXBatteryLevel(_result)   __MSRCXBatteryLevel(_result)
 MSRCXBatteryLevel function.
#define MSRCXPoll(_src, _value, _result)   __MSRCXPoll(_src, _value, _result)
 MSRCXPoll function.
#define MSRCXPollMemory(_memaddress, _result)   __MSRCXPollMemory(_memaddress, _result)
 MSRCXPollMemory function.
#define MSRCXAbsVar(_varnum, _src, _value)   __MSRCXVarOp(RCX_AbsVarOp, _varnum, _src, _value)
 MSRCXAbsVar function.
#define MSRCXAddToDatalog(_src, _value)   __MSRCXAddToDatalog(_src, _value)
 MSRCXAddToDatalog function.
#define MSRCXAndVar(_varnum, _src, _value)   __MSRCXVarOp(RCX_AndVarOp, _varnum, _src, _value)
 MSRCXAndVar function.
#define MSRCXBoot()   __MSRCXBoot()
 MSRCXBoot function.
#define MSRCXCalibrateEvent(_evt, _low, _hi, _hyst)   __MSRCXCalibrateEvent(_evt, _low, _hi, _hyst)
 MSRCXCalibrateEvent function.
#define MSRCXClearAllEvents()   __MSRCXOpNoArgs(RCX_ClearAllEventsOp)
 MSRCXClearAllEvents function.
#define MSRCXClearCounter(_counter)   __MSRCXClearCounter(_counter)
 MSRCXClearCounter function.
#define MSRCXClearMsg()   __MSRCXOpNoArgs(RCX_ClearMsgOp)
 MSRCXClearMsg function.
#define MSRCXClearSensor(_port)   __MSRCXClearSensor(_port)
 MSRCXClearSensor function.
#define MSRCXClearSound()   __MSRCXOpNoArgs(RCX_ClearSoundOp)
 MSRCXClearSound function.
#define MSRCXClearTimer(_timer)   __MSRCXClearTimer(_timer)
 MSRCXClearTimer function.
#define MSRCXCreateDatalog(_size)   __MSRCXCreateDatalog(_size)
 MSRCXCreateDatalog function.
#define MSRCXDecCounter(_counter)   __MSRCXDecCounter(_counter)
 MSRCXDecCounter function.
#define MSRCXDeleteSub(_s)   __MSRCXDeleteSub(_s)
 MSRCXDeleteSub function.
#define MSRCXDeleteSubs()   __MSRCXOpNoArgs(RCX_DeleteSubsOp)
 MSRCXDeleteSubs function.
#define MSRCXDeleteTask(_t)   __MSRCXDeleteTask(_t)
 MSRCXDeleteTask function.
#define MSRCXDeleteTasks()   __MSRCXOpNoArgs(RCX_DeleteTasksOp)
 MSRCXDeleteTasks function.
#define MSRCXDisableOutput(_outputs)   __MSRCXSetGlobalOutput(_outputs, RCX_OUT_OFF)
 MSRCXDisableOutput function.
#define MSRCXDivVar(_varnum, _src, _value)   __MSRCXVarOp(RCX_DivVarOp, _varnum, _src, _value)
 MSRCXDivVar function.
#define MSRCXEnableOutput(_outputs)   __MSRCXSetGlobalOutput(_outputs, RCX_OUT_ON)
 MSRCXEnableOutput function.
#define MSRCXEvent(_src, _value)   __MSRCXEvent(_src, _value)
 MSRCXEvent function.
#define MSRCXFloat(_outputs)   __MSRCXSetOutput(_outputs, RCX_OUT_FLOAT)
 MSRCXFloat function.
#define MSRCXFwd(_outputs)   __MSRCXSetDirection(_outputs, RCX_OUT_FWD)
 MSRCXFwd function.
#define MSRCXIncCounter(_counter)   __MSRCXIncCounter(_counter)
 MSRCXIncCounter function.
#define MSRCXInvertOutput(_outputs)   __MSRCXSetGlobalDirection(_outputs, RCX_OUT_REV)
 MSRCXInvertOutput function.
#define MSRCXMulVar(_varnum, _src, _value)   __MSRCXVarOp(RCX_MulVarOp, _varnum, _src, _value)
 MSRCXMulVar function.
#define MSRCXMuteSound()   __MSRCXOpNoArgs(RCX_MuteSoundOp)
 MSRCXMuteSound function.
#define MSRCXObvertOutput(_outputs)   __MSRCXSetGlobalDirection(_outputs, RCX_OUT_FWD)
 MSRCXObvertOutput function.
#define MSRCXOff(_outputs)   __MSRCXSetOutput(_outputs, RCX_OUT_OFF)
 MSRCXOff function.
#define MSRCXOn(_outputs)   __MSRCXSetOutput(_outputs, RCX_OUT_ON)
 MSRCXOn function.
#define MSRCXOnFor(_outputs, _ms)   __MSRCXOnFor(_outputs, _ms)
 MSRCXOnFor function.
#define MSRCXOnFwd(_outputs)   __MSRCXOnFwd(_outputs)
 MSRCXOnFwd function.
#define MSRCXOnRev(_outputs)   __MSRCXOnRev(_outputs)
 MSRCXOnRev function.
#define MSRCXOrVar(_varnum, _src, _value)   __MSRCXVarOp(RCX_OrVarOp, _varnum, _src, _value)
 MSRCXOrVar function.
#define MSRCXPBTurnOff()   __MSRCXOpNoArgs(RCX_PBTurnOffOp)
 MSRCXPBTurnOff function.
#define MSRCXPing()   __MSRCXOpNoArgs(RCX_PingOp)
 MSRCXPing function.
#define MSRCXPlaySound(_snd)   __MSRCXPlaySound(_snd)
 MSRCXPlaySound function.
#define MSRCXPlayTone(_freq, _duration)   __MSRCXPlayTone(_freq, _duration)
 MSRCXPlayTone function.
#define MSRCXPlayToneVar(_varnum, _duration)   __MSRCXPlayToneVar(_varnum, _duration)
 MSRCXPlayToneVar function.
#define MSRCXRemote(_cmd)   __MSRCXRemote(_cmd)
 MSRCXRemote function.
#define MSRCXReset()   __MSRCXReset()
 MSRCXReset function.
#define MSRCXRev(_outputs)   __MSRCXSetDirection(_outputs, RCX_OUT_REV)
 MSRCXRev function.
#define MSRCXSelectDisplay(_src, _value)   __MSRCXSelectDisplay(_src, _value)
 MSRCXSelectDisplay function.
#define MSRCXSelectProgram(_prog)   __MSRCXSelectProgram(_prog)
 MSRCXSelectProgram function.
#define MSRCXSendSerial(_first, _count)   __MSRCXSendSerial(_first, _count)
 MSRCXSendSerial function.
#define MSRCXSet(_dstsrc, _dstval, _src, _value)   __MSRCXSet(_dstsrc, _dstval, _src, _value)
 MSRCXSet function.
#define MSRCXSetDirection(_outputs, _dir)   __MSRCXSetDirection(_outputs, _dir)
 MSRCXSetDirection function.
#define MSRCXSetEvent(_evt, _src, _type)   __MSRCXSetEvent(_evt, _src, _type)
 MSRCXSetEvent function.
#define MSRCXSetGlobalDirection(_outputs, _dir)   __MSRCXSetGlobalDirection(_outputs, _dir)
 MSRCXSetGlobalDirection function.
#define MSRCXSetGlobalOutput(_outputs, _mode)   __MSRCXSetGlobalOutput(_outputs, _mode)
 MSRCXSetGlobalOutput function.
#define MSRCXSetMaxPower(_outputs, _pwrsrc, _pwrval)   __MSRCXSetMaxPower(_outputs, _pwrsrc, _pwrval)
 MSRCXSetMaxPower function.
#define MSRCXSetMessage(_msg)   __MSRCXSetMessage(_msg)
 MSRCXSetMessage function.
#define MSRCXSetOutput(_outputs, _mode)   __MSRCXSetOutput(_outputs, _mode)
 MSRCXSetOutput function.
#define MSRCXSetPower(_outputs, _pwrsrc, _pwrval)   __MSRCXSetPower(_outputs, _pwrsrc, _pwrval)
 MSRCXSetPower function.
#define MSRCXSetPriority(_p)   __MSRCXSetPriority(_p)
 MSRCXSetPriority function.
#define MSRCXSetSensorMode(_port, _mode)   __MSRCXSetSensorMode(_port, _mode)
 MSRCXSetSensorMode function.
#define MSRCXSetSensorType(_port, _type)   __MSRCXSetSensorType(_port, _type)
 MSRCXSetSensorType function.
#define MSRCXSetSleepTime(_t)   __MSRCXSetSleepTime(_t)
 MSRCXSetSleepTime function.
#define MSRCXSetTxPower(_pwr)   __MSRCXSetTxPower(_pwr)
 MSRCXSetTxPower function.
#define MSRCXSetUserDisplay(_src, _value, _precision)   __MSRCXSetUserDisplay(_src, _value, _precision)
 MSRCXSetUserDisplay function.
#define MSRCXSetVar(_varnum, _src, _value)   __MSRCXVarOp(RCX_SetVarOp, _varnum, _src, _value)
 MSRCXSetVar function.
#define MSRCXSetWatch(_hours, _minutes)   __MSRCXSetWatch(_hours, _minutes)
 MSRCXSetWatch function.
#define MSRCXSgnVar(_varnum, _src, _value)   __MSRCXVarOp(RCX_SgnVarOp, _varnum, _src, _value)
 MSRCXSgnVar function.
#define MSRCXStartTask(_t)   __MSRCXStartTask(_t)
 MSRCXStartTask function.
#define MSRCXStopAllTasks()   __MSRCXOpNoArgs(RCX_StopAllTasksOp)
 MSRCXStopAllTasks function.
#define MSRCXStopTask(_t)   __MSRCXStopTask(_t)
 MSRCXStopTask function.
#define MSRCXSubVar(_varnum, _src, _value)   __MSRCXVarOp(RCX_SubVarOp, _varnum, _src, _value)
 MSRCXSubVar function.
#define MSRCXSumVar(_varnum, _src, _value)   __MSRCXVarOp(RCX_SumVarOp, _varnum, _src, _value)
 MSRCXSumVar function.
#define MSRCXToggle(_outputs)   __MSRCXSetDirection(_outputs, RCX_OUT_TOGGLE)
 MSRCXToggle function.
#define MSRCXUnlock()   __MSRCXUnlock()
 MSRCXUnlock function.
#define MSRCXUnmuteSound()   __MSRCXOpNoArgs(RCX_UnmuteSoundOp)
 MSRCXUnmuteSound function.
#define MSScoutCalibrateSensor()   __MSRCXOpNoArgs(RCX_LSCalibrateOp)
 MSScoutCalibrateSensor function.
#define MSScoutMuteSound()   __MSScoutMuteSound()
 MSScoutMuteSound function.
#define MSScoutSelectSounds(_grp)   __MSScoutSelectSounds(_grp)
 MSScoutSelectSounds function.
#define MSScoutSendVLL(_src, _value)   __MSScoutSendVLL(_src, _value)
 MSScoutSendVLL function.
#define MSScoutSetCounterLimit(_ctr, _src, _value)   __MSScoutSetCounterLimit(_ctr, _src, _value)
 MSScoutSetCounterLimit function.
#define MSScoutSetEventFeedback(_src, _value)   __MSScoutSetEventFeedback(_src, _value)
 MSScoutSetEventFeedback function.
#define MSScoutSetLight(_x)   __MSScoutSetLight(_x)
 MSScoutSetLight function.
#define MSScoutSetScoutMode(_mode)   __MSScoutSetScoutMode(_mode)
 MSScoutSetScoutMode function.
#define MSScoutSetScoutRules(_m, _t, _l, _tm, _fx)   __MSScoutSetScoutRules(_m, _t, _l, _tm, _fx)
 MSScoutSetScoutRules function.
#define MSScoutSetSensorClickTime(_src, _value)   __MSScoutSetSensorClickTime(_src, _value)
 MSScoutSetSensorClickTime function.
#define MSScoutSetSensorHysteresis(_src, _value)   __MSScoutSetSensorHysteresis(_src, _value)
 MSScoutSetSensorHysteresis function.
#define MSScoutSetSensorLowerLimit(_src, _value)   __MSScoutSetSensorLowerLimit(_src, _value)
 MSScoutSetSensorLowerLimit function.
#define MSScoutSetSensorUpperLimit(_src, _value)   __MSScoutSetSensorUpperLimit(_src, _value)
 MSScoutSetSensorUpperLimit function.
#define MSScoutSetTimerLimit(_tmr, _src, _value)   __MSScoutSetTimerLimit(_tmr, _src, _value)
 MSScoutSetTimerLimit function.
#define MSScoutUnmuteSound()   __MSScoutUnmuteSound()
 MSScoutUnmuteSound function.

Detailed Description

Functions for accessing and modifying MindSensors devices.


Generated by  doxygen 1.6.2