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.

Monday, March 17, 2008

Re: [oopic] Re: oSerialL and oLCDSE

Yes, oSerialL works with strings, its all just characters.

DLC

rtstofer wrote:
>> OK. Point made.
>>
>> Now, does anyone have some routines that will convert various numeric
>> data types into their ASCII string representations? And a string is a
>> null-terminated array of char. That should be possible to implement
>> even if it isn't treated properly within the language itself. I can
>> clock that out to the serial LCD one character at a time without too
>> much trouble. After all, I am not trying to build a full-on terminal,
>> just a way to display some simple information.
>>
>
> Str$(somevalue) as described in Chapter 13 - Strings of the ooPIC
> Programmer's Guide.
>
> I THINK the oSerialL will work with a string although it isn't
> documented. oSerialH does have a sample program for strings.
>
>
> Dim MySerial as oSerialL
>
> sub main()
>
> MySerial.Baud = cv2400
> MySerial.Operate = cvTrye
> MySerial.Value = STR$(1234)
> MySerial.Value = 13
> MySerial.Value = 10
>
> end sub
>
> Richard
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>
>

--
------------------------------------------------------
Dennis Clark ooPIC Tech Support
www.oopic.com
------------------------------------------------------


------------------------------------

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: