toggle menu
Cuttlefish Documentation
androidJvm
switch theme
search in API
CuttlefishFTCBridge
/
com.roboctopi.cuttlefishftcbridge.devices
/
CuttleAnalog
Cuttle
Analog
open
class
CuttleAnalog
Generic Analog Sensor
Members
Constructors
Cuttle
Analog
Link copied to clipboard
constructor
(
revHub
:
CuttleRevHub
,
analogPort
:
Int
)
Generic analog sensor.
Properties
hub
Link copied to clipboard
open
var
hub
:
CuttleRevHub
port
Link copied to clipboard
open
var
port
:
Int
Functions
get
Voltage
Link copied to clipboard
open
fun
getVoltage
(
)
:
Double
Get the voltage of the sensor in volts
get
Voltage
Millivolts
Link copied to clipboard
open
fun
getVoltageMillivolts
(
)
:
Int
Get the voltage of the sensor in millivolts