|
VEX EDR Python API
|
Public Member Functions | |
| def | __init__ (self, analognum) |
| def | raw_value (self) |
| Get the raw readout from the sensor. More... | |
| def | percent (self) |
| Get the calibrated reading, in percent [0...100]. More... | |
\if lang_en
**Config** Analog sensor
@param analognum analog port the sensor is connected to.
\elseif lang_sr
**Config** Аналогни сензор
@param analognum аналогни порт на који је повезан сензор.
\elseif lang_ru
**Config** Аналоговый датчик
@param analognum analog port the sensor is connected to.
\endif
| def vex.AnalogSensor.__init__ | ( | self, | |
| analognum | |||
| ) |
Reimplemented in vex.GyroSensor, vex.LineTracker, vex.LightSensor, and vex.AngleSensor.
| def vex.AnalogSensor.raw_value | ( | self | ) |
Get the raw readout from the sensor.
| def vex.AnalogSensor.percent | ( | self | ) |
Get the calibrated reading, in percent [0...100].
1.8.15