|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
||||
|
||||
|
Re: Digital Input?
To read the value of the DigitalInput object, you can call the Get() member function.
This was undocumented up to and including update 2 - not sure if that's been fixed in update 3. In general, WPILib has some undocumented functions and types currently -- look at the header file for the class (DigitalInput.h) in this case to see the complete interface. If using the example template to build your program, the headers can be easily found under the Include node in the files tree. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Digital Input Power | AHepperla | Electrical | 5 | 02-15-2008 03:34 PM |
| Auton digital input | ten3brousone | Programming | 7 | 03-20-2005 10:23 PM |
| digital input question... | Kevin Karan | Programming | 9 | 04-12-2004 07:34 AM |
| counting digital input | CharlieWilken | Programming | 9 | 03-22-2004 07:56 PM |
| Robot Digital Input | Mike Norton | Technical Discussion | 5 | 01-16-2003 02:31 PM |