you may wonder about some of the code. It was originally written for a button to determine the direction, but to make it less confusing, I just say 1=1 to get to the heart of the code. I could have taken it out, but it will go back in.
-Sterling
you may wonder about some of the code. It was originally written for a button to determine the direction, but to make it less confusing, I just say 1=1 to get to the heart of the code. I could have taken it out, but it will go back in.
-Sterling
I figured as much.
When I look at this page ...
http://www.sas.org/E-Bulletin/2002-0...ctro/body.html
Your phase sequence seems to be different.
I guess it depends on which pin connects to which phase.
Might try a little more than 2ms delay to start too.
<br>
DT
I've monkeyed around with the delay, gone all the way up to 20ms.
I had this wiring working on another PIC, so I am pretty sure it should work, unless that program, written ASM was sending different bytes out the port.
I'll check, if I can decipher it.
Cheers,
Sterling
So I looked into the ASM code that sucessfully drove the motor, and made the BYTE output changes to match, but still no luck.
I'm wondering if it could have something to do with the chips high speed of 48MHz?
-Sterling
could be many things, any code, link, picture, D-D bra are welcome
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
OKay, attached is the latest version of code, and my config settings. The config settings work for both LCD output and USB connection.
-Sterling
Bookmarks