|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#7
|
||||
|
||||
|
Re: Pneumatics coding
First off thanks so much to everyone that replied and helped and also thanks so much Squishy for helping me at all, I really appreciate it. <3
basically I used this line of code so far relay2_fwd = 0; relay2_rev = 0; if(p4_sw_trig == 1) { relay2_fwd=1; relay2_rev=0; } else if (p4_sw_trig == 0) { relay2_fwd=0; relay2_rev=0; } like would that work.. or is that completely wrong? sorry, I really don't have any experience in programming so my questions might seem pointless. So like I said, sorry ahead of time ![]() Last edited by Inetta : 12-02-2008 at 03:01. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C coding | ExarKun666 | General Forum | 12 | 21-12-2007 14:13 |
| Photoswitch coding | magical hands | Programming | 0 | 17-01-2006 21:20 |
| pneumatics coding problem (or technical) | wildabyss | Programming | 2 | 22-02-2005 22:16 |
| pneumatics coding problem (or technical) | wildabyss | Pneumatics | 2 | 22-02-2005 22:16 |
| coding a potentiometer | incognito_NICK | Programming | 5 | 14-02-2005 15:56 |