CuttleAnalog

open class CuttleAnalog

Generic Analog Sensor

Constructors

Link copied to clipboard
constructor(revHub: CuttleRevHub, analogPort: Int)
Generic analog sensor.

Properties

Link copied to clipboard
open var hub: CuttleRevHub
Link copied to clipboard
open var port: Int

Functions

Link copied to clipboard
open fun getVoltage(): Double
Get the voltage of the sensor in volts
Link copied to clipboard
Get the voltage of the sensor in millivolts