Subject:
|
Re: pa7 9600 serial output
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Mon, 16 Feb 1998 14:49:35 GMT
|
Original-From:
|
Fred G. Martin <FREDM@saynotospamMEDIA.MIT.EDU>
|
Viewed:
|
1371 times
|
| |
| |
> Hi, I'm trying to interface the FerretTronics Servo Controller Chip FT639,
> to the handyboard
> using PA7. How can i modify the pa7_9600.asm file to transmit at 2400 baud?
You have to re-write the bit_delay loop to take up four times as much
time. Just multiply the delay count value by four, e.g., "LDAB #148".
Fred
(following is the 9600 code.)
* take up 0.1042 millisecs
* 208 cycles
bit_delay
LDAB #37
bit_loop
DECB ; 2 cycles
BNE bit_loop ; 3 cycles
RTS
|
|
Message is in Reply To:
| | pa7 9600 serial output
|
| Hi, I'm trying to interface the FerretTronics Servo Controller Chip FT639, to the handyboard using PA7. How can i modify the pa7_9600.asm file to transmit at 2400 baud? thanks, phet (27 years ago, 15-Feb-98, to lugnet.robotics.handyboard)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|