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.

Wednesday, December 12, 2007

Re: [oopic] Re: Help with incoming Serial Communcation from PC to ooPic-R I2c LCD03

At 04:36 PM 12/12/2007, Angelo wrote:
>Hi Dennis/Richard,
>
>Thanks for your help.
>
>I have got the LCD03 working in serial mode and the setup the serial
>commincation with my PC.
>
>Here is the code I used if future users require it:
>Dim LCD03 As New oSerialL
>Dim SP As New oSerialPort
>
>Sub Main()
> ooPIC.Delay = 4000
> SP.Baud = cv9600
> SP.Operate = cvTrue
> LCD03.IOLineS = 16
> LCD03.Baud = cv9600
> LCD03.Value = 12
> LCD03.Value = 4
> LCD03.Value = 19
> Do
> If S.Received Then

S? Should be SP.


> LCD03.Value = SP.Value
> End If
> Loop
>End Sub

BTW, all of your .Value strings are redundant (x.Value and plain x
are the same thing)


...Andy



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: