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