Represents an ADC pin.
More...
|
| | adc_value = property |
| | Immediately returns the last ADC value (0-4095) captured from the pin. More...
|
| |
| | analog_voltage = property |
| | Immediately returns the last analog voltage (0.0 - 3.3V) captured from the pin. More...
|
| |
| | analog_value = property |
| | Immediately returns the uniform last analog value (0.0 - 1.0) captured from the pin. More...
|
| |
◆ __init__()
| def __init__ |
( |
|
bit_depth, |
|
|
|
max_voltage |
|
) |
| |
◆ adc_value_changed
(EventHandler) an event that fires with new ADC value received
◆ adc_value_threshold
(float) the threshold for adc_value_changed events
◆ analog_value_changed
◆ analog_value_threshold
(float) the threshold for analog_value_changed events
◆ analog_voltage_changed
(EventHandler) an event that fires with new voltages received
◆ analog_voltage_threshold
(float) the threshold for analog_voltage_changed events
◆ max_voltage
◆ adc_value
Immediately returns the last ADC value (0-4095) captured from the pin.
- Returns
- (int) the last ADC value
◆ analog_value
Immediately returns the uniform last analog value (0.0 - 1.0) captured from the pin.
- Returns
- (float) the last analog value value
◆ analog_voltage
| analog_voltage = property |
|
static |
Immediately returns the last analog voltage (0.0 - 3.3V) captured from the pin.
- Returns
- (float) the last analog voltage value
The documentation for this class was generated from the following file: