|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Relay Code
you only need one if you are using slot 4 (default)
if you are not in slot 4, the first is the slot (if it is not 4, it's probably 6), the second is the relay port (on the DSC) if you have it in 4, use relay(relayPort) |
|
#2
|
||||
|
||||
|
Re: Relay Code
There are two possible constructors for the Relay class (from relay.h). Here are their definitions:
Code:
Relay(UINT32 channel, Direction direction = kBothDirections); Relay(UINT32 slot, UINT32 channel, Direction direction = kBothDirections); Last edited by mikets : 08-03-2010 at 22:39. |
|
#3
|
|||
|
|||
|
Re: Relay Code
thanks so much guys
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| spike relay code urgent | chris janney | Java | 1 | 21-02-2010 17:55 |
| Relay | Robopanda6 | Java | 5 | 07-02-2010 01:08 |
| Spike relay code not working | wywern209 | Programming | 9 | 05-02-2010 22:04 |
| C++ Relay Code? | Happyisgood | C/C++ | 10 | 16-07-2009 14:54 |
| Intermittent CODE ERROR, followed by uncommanded relay switching | tcj103 | Programming | 4 | 22-01-2007 02:59 |