|
RobotCore 1.0
WPILib port to raspberry Pi
|
The DigitalInput class reads the state of one Arduino digital pin. More...
Public Member Functions | |
| void | init (int pin, int addr) |
| DigitalInput (int pin) | |
| DigitalInput (int pin, int addr) | |
| boolean | get () |
The DigitalInput class reads the state of one Arduino digital pin.
Definition at line 33 of file DigitalInput.java.
| robotCore.DigitalInput.DigitalInput | ( | int | pin | ) |
| pin | - Specifies the pin to read |
Definition at line 75 of file DigitalInput.java.
| robotCore.DigitalInput.DigitalInput | ( | int | pin, |
| int | addr ) |
Definition at line 80 of file DigitalInput.java.
| boolean robotCore.DigitalInput.get | ( | ) |
Gets the current state of the pin.
Definition at line 90 of file DigitalInput.java.
| void robotCore.DigitalInput.init | ( | int | pin, |
| int | addr ) |
Definition at line 40 of file DigitalInput.java.