|
Source from uucww
Hi,This a asembly code to built a SSC(Serial servo contorller),
http://www.seattlerobotics.org/encoder/200106/16csscnt.htm
VB controller
schematic
I had tried,but just only adjust 0 to 126 ,but 127to 255 can't apply pulses,
Now, hope to solved the questions,
I tested for the assembly code on an AT90S8515 at 3.6864 MHz. The code was compiled with AVR Studio 4.12 SP3.
Run the Visual Basic program (EXE file) and move
the Scroll Bar I get this pulse width:
Beginning,Pulse width = 2285 μs (2.285 ms) ,It's OK.
Press the cnter button(value 127): Pulse width = 1595 μs (1.595 ms),It's OK.
but move button down to value 128 and down to value 254,the Pulse width = 0.905 ms and no change.
Press the cnter button(value 127): Pulse width = 1595 μs (1.595 ms),
Move button up to value 126 and up to value 0, It worked fine .
Thanks.
Best regards
-----此内容被zzzzz于2006-12-07,21:53:42编辑过 |
|