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.

Friday, February 29, 2008

[oopic] Re: Sharp Sensor Code

--- In oopic@yahoogroups.com, "jeremy_raj" <jeremy_raj@...> wrote:
>
> Hie group,
> Does anynoe have example of coding don eto detect objects from a
> certain range using the sharp ir range sensor..Hope can get some
> examples and guidance really new to OOPIC controller,
> Thanks
>

How about this: http://www.acroname.com/examples/10012/10012.html

Or read the Manual about the oIRRange object

Later you can look at other objects that will allow you to have an
event occur when an object gets within a certain range: oEvent, oCompare.

Richrd



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: