[QUOTE=Martin Peters;39803]
Using a 4MHz crystal/resonator I found the output gives a slight amount of servo jitter. Not much, but enough to be annoying.
> Good news ... your program works now ???
Swapping the Xtal to 10MHz does counter that unwanted jitter, but then the 'reverse' timing becomes out of sync (servo neutral shifts to somewhere other than neutral).
> Héhé, PULSIN resolution changes with XTal freq. ... so @ 10 MHz ... neutral becomes 150 x 10 / 4 = 375.
I like the AND gate suggestion. But in this case the three servos which are not being operated are to be set to their neutral positions while they're sleeping.
> Sending no signal to servos ( but servos always powered ) **might** leave them to their last position, if light effort like placing a gun barrel ... to be verified "live"
The downloadable version is PBP is limited to around thirty lines of code. I'm toying with the idea of purchasing the full-working version, but reluctant to splash out £££s if I can't even understand how to write simple code for gadgets such as this.
> If you want to do ... you have to learn !!! no "pushbutton" miracle device here ...
> You'll have to learn some basics of general program writing like flowcharts ... clearly told : to write down what you want to do and how you will do it.
> Translating those papers into µP languages is the easier part of the thing ...
> Those "gadgets" we play with have needed some years learning and experiencing ... and we still learn each and everyday !!!
> Are you ready for that ???
You guys obviously know what you're doing
> do you really think we know what we do ??? ( LOL )
so I'm hanging on to your advice.
My own advice is to look at what you want to do w/µP ... programming is like jogging ... stop for a while and It's a bit hard to recover the "cruising speed"
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks