PDA

View Full Version : Inverting parallel 12 output?



benjamin07
11-28-2007, 08:15 AM
How would one rewrite the code for the Parallel 12 plugin to make an "ON" in vixen be a "OFF" when sent out the parallel port. I am using a Potter & Brumfield 16 Relay bank (only using 12 relays) that uses a common anode. Which means that I must send a 0 or OFF to turn on the relays. I have to run a +5 volt supply to the board and attach the ground of the supply to the ground pins on the parallel controller. Everything is working great except when I sequence my lights of course they do the opposite for what is being called up. I realize I can just invert the sequence when done, or run all the data and control lines through an inverting buffer, but surely there is an easier way to just change a little bit of source code on the plugin. Myself I have never done any programming. Unless you count html, but even that I've done very little of. Any Idea's? I appreciate any help!

Josh
11-29-2007, 11:57 PM
well the code is pretty simple, i also have done no programing, but i am sure someone could help you... the problem is most people are busy with thier displays at the time, so for this year, i would just invert the sequence.