Subject:
|
Interrupt Handler for Serial communication
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Tue, 7 Jul 1998 23:48:41 GMT
|
Original-From:
|
Timothy B. Gold <goldt@et.byu.edu[stopspammers]>
|
Viewed:
|
1161 times
|
| |
| |
Here's a bit of code that will buffer incoming serial information so
that no information will be lost when transmitting to the handy board.
There are two files: serial_isr.c and serial_isr.asm. You'll need to
assemble the .asm file using as11_ic, and then both the .c file and the
.icb file need to be loaded onto the handy board. I'm sure improvements
could be made to the code to clean it up a little, but it's a start (and
I haven't had any problems with it yet). Enjoy!
--
MIME ATTACHMENTS DISCARDED:
1. Content-Type: text/plain; charset=us-ascii; name="serial_isr.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="serial_isr.c"
Content-Length: 2800
2. Content-Type: text/plain; charset=us-ascii; name="serial_isr.asm"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="serial_isr.asm"
Content-Length: 3608
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|