Raspberry.IO
Represents an analog value.
Initializes a new instance of the class.
The total range (ie. maximum value).
The value.
Gets or sets the discrete value.
The discrete value.
Gets or sets the total range.
The total range, ie. the maximum value.
Gets the relative value.
The relative value.
Provides extension methods for binary pins.
Waits for a pin to reach the specified state, then measures the time it remains in this state.
The measure pin.
if set to true, wait for the pin to be up.
The first phase timeout.
The second phase timeout.
The time the pin remains up, in milliseconds.
Provides extension methods for byte and byte arrays.
Converts a byte array/enumerable to a bit string.
bytes to be converted.
A bit string
Provides an interface for input, analog pin.
Reads the value of the pin.
The value.
Provides an interface for input, binary pins.
Reads the state of the pin.
true if the pin is in high state; otherwise, false.
Waits for the specified pin to be in the specified state.
if set to true waits for the pin to be up. Default value is true.
The timeout. Default value is .
If timeout is set to , a default timeout is used instead.
Provides an interface for bidirectional binary pins.
Provides an interface for output, binary pins.
Writes the value of the pin.
if set to true, pin is set to high state.
Prepares the pin to act as an input.
Prepares the pin to act as an output.
Provides an interface for output, analog pin.
Writes the specified value to the pin.
The value.
Provides extension methods for strings.
Converts a bit string in MSBF order (most significant bit first) to a byte array.
A bit string (e.g. "00101111").
If true the bit string will be prefixed with '0' if it is not divisible by 8.
An array starting with the most significant byte.