May 19, 2024, 04:04:30 AM

News:

You can now use Vixen to program your Prop-1 and Prop-2 controllers!  Get started quickly and easily, without having to learn PBASIC.  Details in the Library forum.


Help Me Help You....

Started by JonnyMac, September 17, 2007, 02:43:55 PM

Previous topic - Next topic

JonnyMac

Okay, friends, we're moving quickly into the crazy season and my programming fingures are typing fast and furious!  There are times when I'm not quire sure what a customer wants int eh way of timing.  May I suggest that when you're asking us to write a program for you that you give us a timeline -- something that looks like this:

x:xx.x  Wait for PIR
0:00.0  Play sound 0 on AP-8
0:10.0  Activate relay K1 on RC-4
0:12.5  Activate solenoid on OUT0
0:15.0  De-activate solenoid on OUT0
z.zz.z  Back to top -- wait for PIR


Human version: when the PIR trips start sound 0 on the AP-8, wait 10 seconds then turn on channel 1 of the RC-4.  Wait another 2.5 seconds then activate the solenoid on OUT0 for 2.5 seconds -- then start over.

This is just a suggestion; my goal is to get your program right the first time, and having a detailed understanding of your timing requirements will let that happen.
Jon McPhalen
EFX-TEK Hollywood Office