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

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

<*> 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: