avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] timer routine


From: Jamie Morken
Subject: [avr-gcc-list] timer routine
Date: Thu, 12 Jul 2001 23:23:34 -0700

Hi all,

I'm using a timer routine to send a byte over and over to a pin on the 8535
chip I am using for amateur rocket telemetry.
The test byte is 81 (01010001) and it is sent lsb to msb (10001010) so here
is what I should get on the pin:

...100010101000101010001010...

Instead of the above bit stream of 81's repeating, the pin is outputting an
extra zero after each 81!

...100010100100010100100010100...

The byte (81) is traversed lsb to msb and the current bit value is placed on
an output pin, at the msb the index shifts back to the lsb and keeps sending
it over and over that way.  Somehow there must be a 1 pulse delay that is
putting one extra msb on the output pin.. but I can't figure out how to get
rid of it.. any help!? :)

best regards,
Jamie Morken
www.rocketresearch.org






reply via email to

[Prev in Thread] Current Thread [Next in Thread]