This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Saturday, February 16, 2008

Re: [oopic] Re: events again

You are reading it correctly. The oEvent will only trigger on a
"low-to-high" transition of the .Operate flag. And only when it is not
currently executing that event. However, if your transitions occur
while you are in the circuit, it will cause odd behavior because the
timing will be off. It behooves you to do what you want to do and get
out so you don't miss transitions or end up with back-to-back event calls.

DLC

dldlhfd@aol.com wrote:
> C.1.1+ 6.1 compiler 00pic C carrier board.
> Calling the subroutine first does not make mine work either.
>
> Another point: I have been trying to follow the thread on this and it
> sounds like what you are saying is that with events you need to execute the
> subroutine and get back out before the routine is called again. but I was reading
> the manual on events and it says:
>
> While the Sub procedure is executing the oEvent Object ignores the Operate
> property and waits for the program flow to return from the Sub procedure. When
> the program flow returns from the Sub procedure the oEvent Object resumes
> watching for the Operate property to transition from 0 to 1.
>
> As I understand this, it does not matter how long you are in the subroutine
> it will not re-execute until it the subroutine is complete. On the other hand
> a different event can interrupt the first event subroutine.
>
> Am I reading the correctly?
>
>
>
> **************Ideas to please picky eaters. Watch video on AOL Living.
> (http://living.aol.com/video/how-to-please-your-picky-eater/rachel-campos-duffy/
> 2050827?NCID=aolcmp00300000002598)
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
> Yahoo! Groups Links
>
>
>
>

--
------------------------------------------------------
Dennis Clark ooPIC Tech Support
www.oopic.com
------------------------------------------------------


Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments: