I have (4) 12v relays already controlled thru DMX. I have (8) new channels I need triggered by the 8 possible combinations of the first 4 relays. I've attached a PDF detailing each of the 8 events.
Motion Air bags (relays 1-4) Air blast (channels A-H)
1 Forward 1,2 AB 2 Back 3,4 EF 3 Left 1,4 HG 4 Right 2,3 CD 5 FL 1 AH 6 FR 2 BC 7 BL 4 FG 8 BR 3 DE
I'm a beginner to say the least - but I'm thinking I'll need some kind of an IF - THEN kind of program. So the "air bag" column will be the IFs and the "air blast" column will be the THENs.
Does this make sense? Is there a better method that will achieve the same results?
And can someone point me in the right direction (or even to a similar example) of what the code would look like?
Any help or thoughts would be much appreciated! Thanks in advance!