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.

Sunday, February 3, 2008

[oopic] Re: SerLCD1 (Kronos Robotics) With OOPic-R

> To achieve this same result with an OOPic, would I need to do
> something like this where I change the Value property three
> consecutive times (the last one is a String):
>
> Dim display As New oSerialL
>
> Sub Main()
> display.IOLineS = 1
> display.Baud = cv9600
> display.Operate = cvTrue
> display.Value = 2 'Line 2
> display.Value = 1 'Position 1
> display.String = "Hello" 'Text
> End Sub

You really don't want to use IOLine 1 You should stay away from the
analog inputs. Try something up above 15 - that's why the 3 pin LCD
interface on the R board uses IOLine 16.

Other than that, it should work.

> I haven't tested this code yet; as long as I have the Piggy Back's
+5v
> and Ground wires connected properly to the OOPic, do I run any risk
of
> damaging the Piggy Back or the LCD as I test out different code?
>

You shouldn't! The R board has a specific 3 pin connector for the
serial LCDs. Use that one... The downside is that the 5V to the
display will come from the logic regulator of the R board.
Ordinarily, the IOLines are fed by a separator (and much larger)
regulator. Still, I doubt there will be a problem.

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: