Subject:
|
Re: Servo 16 pgm +SPI on HC11
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Wed, 27 Oct 1999 08:36:09 GMT
|
Original-From:
|
John Hatton <jhatton@SPAMLESScardclear.co.uk>
|
Viewed:
|
1068 times
|
| |
| |
I have to admit that I have not actually finished the project, work
commitments meant that it was shelved for a while. The easiest way to
communicate to the HC11 is to use the software from the HB website that
allows you to use one of the pins on one of the ports (I think it is PA7 but
I'm not sure without looking it up) as a serial output. This should work
unless you want to use the analogue inputs from the HC11 board.
As to using the SPI port I thought that this was a synchronous port rather
than the asynchronous serial port that is needed, correct me if I'm wrong.
John
-----Original Message-----
From: MERTINY, LIONEL <LMERTINY@exchange1.pria.com>
To: 'johnhatton@email.com' <johnhatton@email.com>
Date: 27 October 1999 05:07
Subject: FW: Servo 16 pgm +SPI on HC11
> I found another adress for you on the HB mail list ...
>
> > -----Original Message-----
> > From: MERTINY, LIONEL
> > Sent: Tuesday, October 26, 1999 10:14 PM
> > To: 'JohnHa@icsplc.co.uk'
> > Subject: Servo 16 pgm +SPI on HC11
> >
> > John,
> >
> > I saw your mail on the Handy Board mailing list regarding the program of
> > Erik de la Iglesia to control 16 servos with a HC11. I have the program
> > and the documentation, but I am still having problems to adapt the program
> > to use the SPI port instead of the SCI.
> > Do I have to simply modify the PUTCHAR and GETCHAR routines to use the
> > SPCR reg instead of the SCSR ?
> >
> > Thanks by advance for any help,
> >
> > Lionel
>
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|