WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation


Phidget temperature sensor.
phidget temperature.jpg
This must be connected to an ADC pin and can return temperatures from -40 to +125 degrees celsius. It may be defined using:
Phidget_Temperature sensor = MAKE_Phidget_Temperature(ADC0);
Where ADC0 is changed to be the required ADC input pin.
The sensor should be initialised in appInitHardware using:-
The sensor can then be read using:-
and then the temperature will be in sensor.temperature.celsius

Valid XHTML 1.0 Transitional