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.

Tuesday, January 8, 2008

Re: [oopic] Re: Interpreting serial data.

Thanks Dan, that's a nice link.

DLC

ooPIC Tech Support

-----Original Message-----

From: "dan michaels" <oric_dan@yahoo.com>
Subj: [oopic] Re: Interpreting serial data.
Date: Tue Jan 8, 2008 8:25 am
Size: 1K
To: oopic@yahoogroups.com

--- In oopic@yahoogroups.com, "aravind_2917" <aravind_2917@...> wrote:
>
> hello,
>
> Iam trying to communicate with oopic from my mobile over the serial
> port using bluetooth dongle...everything is working fine...i can
make out that data is being transmitted to the oopic and oopic is
receiving the data...
>
> Iam sending single character from the mobile...like 's' for
example...i can even send a single byte from the mobile..
>
> Now,how do i interpret the data received by OOPIC...am using
> oSerialPort object...
>
> oSerailPort sp=new oSerialPort;
> sp.Operate=1;
>
> i want to compare the values received ,with predefined values and
carry out other tasks accordingly...like ,start a motor if 's' is
> received..stop the motor if 't' is received...How do i do
that?..what are the conversions and comparisions involved?
>


I have example code that does similar to what you describe on the
bottom of this page ...

http://www.oricomtech.com/projects/rolandp.htm


- dan michaels
www.oricomtech.com
--- OOBOT40 Boards ---
=========================



Yahoo! Groups Links



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: