RobotCore
Robot Core Documentation
Public Member Functions | List of all members
robotCore.DigitalOutput Class Reference

Controls the state of one Arduino digital pin. More...

Public Member Functions

 DigitalOutput (int pin, int i2cAddr)
 
 DigitalOutput (int pin)
 
void set (boolean high)
 

Detailed Description

Controls the state of one Arduino digital pin.

Author
John Gaby

Constructor & Destructor Documentation

◆ DigitalOutput() [1/2]

robotCore.DigitalOutput.DigitalOutput ( int  pin,
int  i2cAddr 
)
Parameters
pin- Specifies the pin to control on the Aux Arduino
i2cAddr- Specifies the i2cAddr of the Aux Arduino

◆ DigitalOutput() [2/2]

robotCore.DigitalOutput.DigitalOutput ( int  pin)
Parameters
pin- Specifies the pin to control

Member Function Documentation

◆ set()

void robotCore.DigitalOutput.set ( boolean  high)
Parameters
high- Specifies the desired state of the pin

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