Method | Description | |
---|---|---|
AnalogRead ( GertboardAdcChannels channel ) : |
Reads an analog value from the ADC on the Gertboard.
|
|
AnalogWrite ( GertboardAdcChannels channel, |
Writes an 8-bit data value to ADC on the Gertboard.
|
|
Initialize ( ) : System.Boolean |
Initializes SPI communication with the device.
|
public static AnalogRead ( GertboardAdcChannels channel ) : |
||
channel | GertboardAdcChannels | /// The channel to read from. /// |
return |
public static AnalogWrite ( GertboardAdcChannels channel, |
||
channel | GertboardAdcChannels | /// The channel to write to. /// |
value | /// The value to write. /// | |
return | void |
public static Initialize ( ) : System.Boolean | ||
return | System.Boolean |