VEXcode IQ C++ Unofficial documentation for version 3.0.4.1
Loading...
Searching...
No Matches
vex::device Class Reference
Inheritance diagram for vex::device:
vex::bumper vex::colorsensor vex::distance vex::generic vex::gyro vex::motor vex::optical vex::pneumatic vex::sonar vex::touchled vex::vision

Public Member Functions

 device (int32_t index)
 
IQ_DeviceType type ()
 
int32_t index ()
 
void init (int32_t index)
 
virtual bool installed ()
 
virtual int32_t value ()
 
int32_t readDigitalPin ()
 
int32_t readAnalogPin ()
 

Protected Member Functions

void setPollInterval (int32_t value)
 
bool pollValid (bool bSave)
 

Protected Attributes

int16_t _index
 

Detailed Description

Definition at line 26 of file vex_device.h.

Member Function Documentation

◆ value()

virtual int32_t vex::device::value ( )
virtual

Member Data Documentation

◆ _index

int16_t vex::device::_index
protected

Definition at line 32 of file vex_device.h.


The documentation for this class was generated from the following file: