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.

Tuesday, February 26, 2008

[oopic] Re: UVTron Question

--- In oopic@yahoogroups.com, "jon_mark_go" <jonmarkgo@...> wrote:
>
> I'm just looking at the sample code for oUVTronHM at oopic.com
>

The OOPic code uses IOLine1 as a digital input, not analog, although
you sure can't tell that from the sample code. However, there is a
note that says the input can go to any of the OOPic's 31 IO lines,
hence a digital signal as analog can only go to the first 7.

Given the built-in object, it seems like a good way to go. Just use a
comparator on the .Level property if necessary to supplement the
.Detected property. The documentation doesn't say at what count the
.Detected property is set true.

Richard



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: