Subject:
|
Re: serial communications
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Tue, 2 Mar 1999 20:23:58 GMT
|
Original-From:
|
SHETTI.NITIN.MANGESH <shettin@giasbmc.vsnlSPAMCAKE.net.in>
|
Viewed:
|
1615 times
|
| |
 | |
Dear Casey Russell,
When pcode is disabled, the handy boards stops treating the
data received on the serial port,in the manner the pcode wants it to. The
bytes it receives through the com2 port is then just plain data for it. It
should know what to do to the data. Hence there should be a receiving
program on the hb to accept the data. The function serial_getchar() waits
for the data coming through the serial port.
When you ran Hyperterminal, I believe this function was not
called. It must therefore have confused the hb.
Write a program which disables the pcode, calls serial_getchar()
and then enables the pcode, inorder for observing the working of these
functions.
Yours sincerely,
Nitin
On Mon, 1 Mar 1999, Russell, Casey wrote:
> I want to disconnect interactive C from the handy board and send
> instructions to it via the hyper terminal on Windows 95. I have
> followed the instructions given in the HB technical reference. I am
> confused as to the procedure for accomplishing my task. Once the code
> for receiving Characters is downloaded to the handy board what is my
> next step. When do I call the disable_pcode_serial() function and how
> do I utilize the serial_getchar(int c)?
>
> These are the steps that I have tried:
> 1. download given code on last page of manual.
> 2. call disable_pcode_serial()
> 3. turn off IC.
> 4. run hyper terminal, which connects to the HB through com port 2.
> As soon as I type in the hyper terminal the HB
> heart beat stops.
>
>
> I'm not using the serial_getchar(int c) command correctly can someone
> inform me of my blunder.
>
> Thanks,
> Casey
>
|
|
Message is in Reply To:
 | | serial communications
|
| I want to disconnect interactive C from the handy board and send instructions to it via the hyper terminal on Windows 95. I have followed the instructions given in the HB technical reference. I am confused as to the procedure for accomplishing my (...) (26 years ago, 1-Mar-99, to lugnet.robotics.handyboard)
|
3 Messages in This Thread:   
  
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|