public sealed class Analog : ContinuousSensorPublic NotInheritable Class Analog
Inherits ContinuousSensor[<SealedAttribute>]
type Analog =
class
inherit ContinuousSensor
end| A0 | Gets the analog reading of pin A0 whose value is between 0 and 1023 inclusive. The pin must be enabled for analog input before values become available. |
| A1 | Gets the analog reading of pin A1 whose value is between 0 and 1023 inclusive. The pin must be enabled for analog input before values become available. |
| A2 | Gets the analog reading of pin A2 whose value is between 0 and 1023 inclusive. The pin must be enabled for analog input before values become available. |
| A3 | Gets the analog reading of pin A3 whose value is between 0 and 1023 inclusive. The pin must be enabled for analog input before values become available. |
| A4 | Gets the analog reading of pin A4 whose value is between 0 and 1023 inclusive. The pin must be enabled for analog input before values become available. |
| A5 | Gets the analog reading of pin A5 whose value is between 0 and 1023 inclusive. The pin must be enabled for analog input before values become available. |
| A6 | Gets the analog reading of pin A6 whose value is between 0 and 1023 inclusive. The pin must be enabled for analog input before values become available. |
| A7 | Gets the analog reading of pin A7 whose value is between 0 and 1023 inclusive. The pin must be enabled for analog input before values become available. |
| IsEnabled |
Returns true if the sensor has been enabled.
(Inherited from ContinuousSensor) |
| IsReady |
Returns true if the sensor values are available for reading.
(Inherited from ContinuousSensor) |
| Disable |
Use to disable the sensor and stop reporting values.
(Inherited from ContinuousSensor) |
| DisableInputsA | Disables analog inputs whose sources are Arduino pins A0, A1, A2, A3, A4, A5, A6 and A7. Digital inputs for the specified Arduino pins are also disabled. |
| Enable |
Use to enable the sensor and start reporting values.
(Inherited from ContinuousSensor) |
| EnableInputsA | Enables analog inputs whose sources are Arduino pins A0, A1, A2, A3, A4, A5, A6 and A7. The default sample rate is 10Hz. A short delay may need to be implemented after a call to this method to allow analog values to start being received. Enable only the input sources that are needed. Digital inputs for the specified Arduino pins are disabled. |
| SetSampleRate | Sets the rate at which the analog pins are sampled. |
| UseConverter | Assigns a function to one or more analog inputs to convert the normal range of analog values from 0 to 1023, to another range of values. |