|
HiTechnic IR Link RCX Comms Driver. More...
#include "common.h"
Go to the source code of this file.
Functions | |
bool | HTRCXsendHeader (tSensors link) |
void | HTRCXencode (tSensors link, tByteArray &iBuffer, tByteArray &oBuffer) |
bool | HTRCXreadResp (tSensors link, tByteArray &response) |
bool | HTRCXplaySound (tSensors link, unsigned byte sound) |
bool | HTRCXsendByte (tSensors link, unsigned byte data) |
bool | HTRCXsendWord (tSensors link, short data) |
bool | HTRCXmotorOn (tSensors link, unsigned byte _motor) |
bool | HTRCXmotorOff (tSensors link, unsigned byte _motor) |
bool | HTRCXmotorFwd (tSensors link, unsigned byte _motor) |
bool | HTRCXmotorRev (tSensors link, unsigned byte _motor) |
bool | HTRCXmotorPwr (tSensors link, unsigned byte _motor, unsigned byte power) |
Variables | |
tByteArray | HTRCXI2CRequest |
tByteArray | HTRCXI2CReply |
tByteArray | HTRCXIRMsg |
byte | HTRCXCmdToggle = 0 |
HiTechnic IR Link RCX Comms Driver.
hitechnic-irlink-rcx.h provides an API for the HiTechnic IR Link Sensor to allow communication between the NXT and RCX.
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.
Definition in file hitechnic-irlink-rcx.h.