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

dexterind-flex.h File Reference

ROBOTC Dexter Industries dFlex Sensor driver. More...

#include "common.h"

Go to the source code of this file.

Defines

#define DFLEXDAT   "DFLEX.dat"

Functions

int DFLEXvalRaw (tSensors link)
int DFLEXvalNorm (tSensors link)
void DFLEXcalLow (tSensors link)
void DFLEXcalLow (int lowval)
void DFLEXcalHigh (tSensors link)
void DFLEXcalHigh (int highval)
void _DFLEXcheckSensor (tSensors link)
void _DFLEXwriteCalVals (int lowval, int highval)
void _DFLEXreadCalVals (int &lowval, int &highval)

Variables

int dflexlow = 0
int dflexhigh = 1023
bool DFLEX_calibrated = false

Detailed Description

ROBOTC Dexter Industries dFlex Sensor driver.

DFLEX-driver.h provides an API for the Dexter Industries dFlex 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:
23 June 2010
Version:
0.1

Definition in file dexterind-flex.h.