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, March 8, 2008

[oopic] Re: Using ultra sonic sensor with the oopic

> Maybe you can enlighten me as to why I should be using the V5
compiler
> instead of the V6? Since I had no feedback other than Dan Michaels
of
> Oricomtech saying something like V5 was better documented and had
> better examples, I ended up just using the V6 compiler.

I haven't heard from Dan lately. I hope all is well!

V6 spent years in beta. There are two ways to look at that: first,
the compiler is perfect or, second, it wasn't a priority. Well, we
know it isn't perfect. I guess I just got put off by the amount of
time it spent in beta with no apparent effort to move it forward.

OTOH, V5 with all its' warts is a known quantity. It has been around
since Win95 and, while it lacks the newer objects, it is a lot more
stable.

I haven't spent ANY time looking at the new objects because I don't
plan to upgrade to V6 any time soon. Maybe if I did some reading, I
would get motivated. Or not... It's frustrating when things don't
work. oEvents comes to mind.

>
> > But it is good to know that the OOPic can handle the Parallax PING
> > sensor.
>
> Not sure it can. It assumes that there are two I/O lines, one for
the
> ping and one for the echo. Not sure if you can use the same line
for
> both. You would probably have to try it out.

I don't have the sonar device and there could be issues with the two
pin approach. Ordinarily, I would solve that by using either one pin
or at least turning the output pin into an input so it would float
when not pinging. But I have no idea how it is actually
implemented.

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: