|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#4
|
||||
|
||||
|
Re: digital input question...
the digital inputs on the RC are already defined in the code for you - they can only have a value of 1 or 0
all you need to do is look at the right variable rc_dig_in01 is digital input one on the RC so you can do stuff like if (rc_dig_in01 ==1) variableXYZ=123; if (rc_dig_in14 ==0) variableQRS=127; what else do you want to do with them? |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| counting digital input | CharlieWilken | Programming | 9 | 22-03-2004 19:56 |
| Digital In Question | Tom Bottiglieri | Control System | 5 | 02-03-2004 17:09 |
| Question about input pins. | Tom Bottiglieri | Programming | 3 | 15-02-2004 15:12 |
| How do u hook up the digital input to the sensor's wires | Fares | Technical Discussion | 2 | 14-02-2003 16:41 |
| Robot Digital Input | Mike Norton | Technical Discussion | 5 | 16-01-2003 14:31 |