|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
does anyone have example code for there spike relay that they are willing to share?
|
|
#2
|
|||||
|
|||||
|
Re: spike
Please specify the programming system you are using:
1) MPLAB 2) EasyC Pro 3) RobotC Three systems, three different answers. |
|
#3
|
||||
|
||||
|
Re: spike
MPLAB
|
|
#4
|
|||
|
|||
|
Re: spike
//to turn on
relay#_fwd = 1; //to turn off relay#_fwd = 0; |
|
#5
|
|||||
|
|||||
|
Re: spike
Don't forget to set:
relay#_rev = 0; |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Spike Connection | Gal Longin | Control System | 4 | 12-01-2005 13:59 |
| Spike Connection | Gal Longin | Electrical | 4 | 12-01-2005 13:59 |
| solenoid/spike | greencactus3 | OCCRA Q&A | 1 | 11-09-2004 09:54 |
| spike | great_one411 | Electrical | 2 | 06-02-2003 09:10 |