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

HTEOPD-driver.h File Reference

HiTechnic EOPD Sensor driver. More...

#include "common.h"

Go to the source code of this file.

Functions

int HTEOPDreadRaw (tSensors link)
int HTEOPDreadProcessed (tSensors link)
void HTEOPDsetShortRange (tSensors link)
void HTEOPDsetLongRange (tSensors link)
int HTEOPDreadRaw (tMUXSensor muxsensor)
int HTEOPDreadProcessed (tMUXSensor muxsensor)
void HTEOPDsetShortRange (tMUXSensor muxsensor)
void HTEOPDsetLongRange (tMUXSensor muxsensor)

Variables

TSensorTypes LRType = sensorAnalogActive
TSensorTypes SRType = sensorAnalogInactive

Detailed Description

HiTechnic EOPD Sensor driver.

HTEOPD-driver.h provides an API for the HiTechnic EOPD 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 2.00 AND HIGHER.

Author:
Xander Soldaat (mightor_at_gmail.com)
Date:
20 February 2011
Version:
0.6

Definition in file HTEOPD-driver.h.