|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#9
|
||||
|
||||
|
Is it possible to define something and have a set of commands built into it?
Something like this? #define Setting_1 ((solenoid1 = 1) && (Solenoid2 = 0) && (solenoid3 = 1) && (solenoid4 = 0) && (solenoid5 = 0) && (solenoid6 = 0)); will this allow me to do.... if (Sensors_are_online); { Setting_1 } basically if the sensor receives a signal, it would turn on setting_1 which is to turn solenoid 1 and solenoid 3 on. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A poximity sensor that works with IFI gear | Validius | Control System | 10 | 16-03-2005 21:56 |
| A poximity sensor that works with IFI gear | Validius | Electrical | 10 | 16-03-2005 21:56 |
| Why is Dave hanging out with these guys? | JohnBoucher | NASA Discussion | 1 | 17-12-2004 10:38 |
| RoboEmu 1.06 (works with XP and 2k) | rbayer | Programming | 4 | 20-10-2002 21:47 |
| Are you a team with very little money, why/ | mnkysp6353 | General Forum | 6 | 09-10-2001 21:30 |