For that purpose, you'll never need interrupt.. i seconf the Melanie's idea of a somple loop. Kinda KISS programming wich is often welcome.

Originally Posted by
EDWARD
my goal is not to make a paintball gun just fire. it is to make it functin a very very specific way. a requirement that is in the tournement handbook.
and.. ilegal in many coutry. well in Canada, we can modify our guns BUT we can't use them in real tournament as they don't meet the normal rules. Yeah i play sometime Paintball. I have a DM4, DM5 and since few weeks a DMC.
But by your question, you can do something like the following pseudo
Code:
If Fire=1 then
Pulsout Solenoid ' rising edge
While Fire=1
Wend
Pulsout Solenoid ' falling edge
endif
Be carefulll your loader should have time enough to place those cute ball prior to shoot them. I hope your aware of hat... case else... what a great mess of paint you'll do. And for sure, few minutes/hours of happy cleaning
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks