RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
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

Definition at line 11 of file DigitalOutput.java.

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

Definition at line 39 of file DigitalOutput.java.

◆ DigitalOutput() [2/2]

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

Definition at line 50 of file DigitalOutput.java.

Member Function Documentation

◆ set()

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

Definition at line 60 of file DigitalOutput.java.


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