Subject:
|
serial communications
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Mon, 1 Mar 1999 19:22:08 GMT
|
Original-From:
|
Russell, Casey <crussell@osecNOMORESPAM.com>
|
Viewed:
|
1403 times
|
| |
 | |
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 has 2 Replies:  | | Re: serial communications
|
| some days ago i played with this too. i send you my files ... hope it helps ;) /* beginning of serial.c */ int char1; void disable_pcode_serial() /* necessary to receive characters using serial_getchar */ { poke(0x3c, 1); } void (...) (26 years ago, 1-Mar-99, to lugnet.robotics.handyboard)
|  | | Re: serial communications
|
| 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 (...) (26 years ago, 2-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
|
|
|
|