|
Lego Light Sensor driver. More...
#include "common.h"
Go to the source code of this file.
Defines | |
#define | LEGOLSDAT "legols.dat" |
Functions | |
int | LSvalRaw (tSensors link) |
int | LSvalNorm (tSensors link) |
void | LScalLow (tSensors link) |
void | LScalHigh (tSensors link) |
void | LSsetActive (tSensors link) |
void | LSsetInactive (tSensors link) |
int | LSvalNorm (tMUXSensor muxsensor) |
void | LScalLow (tMUXSensor muxsensor) |
int | LSvalRaw (tMUXSensor muxsensor) |
void | LScalHigh (tMUXSensor muxsensor) |
void | LSsetActive (tMUXSensor muxsensor) |
void | LSsetInactive (tMUXSensor muxsensor) |
void | _LScheckSensor (tSensors link) |
void | _LSwriteCalVals () |
void | _LSreadCalVals () |
Variables | |
int | lslow [16] |
int | lshigh [16] |
bool | legols_calibrated = false |
Lego Light Sensor driver.
lego-light.h provides an API for the Lego Light Sensor.
Changelog:
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 lego-light.h.