> 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:
No comments:
Post a Comment