Hello. I am new to PIC Basic. Many people say it is easy to program the PIC to control servo motor, but nobody gives a simple program to show how it looks like. It is not enough to write: PULSOUT pin,100.... I don't understand it principles. If someone would give me an egsample of a program (eg., when I push button RA1, the motor is turning to right, when RA2, to left) I would very approciate that... Thank you!!! P.S. I use 4Mhz crystal and PicBasic Pro...
Note attached file is a Highly enhanced file of the one you can FREELY download from Elektor ...
Also available on Elektor French Forum ...
You also can download Freely PCB and " paper " project for 1€20 ...
Alain
Last edited by Acetronics2; - 19th November 2009 at 17:56.
************************************************** ***********************
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 " !!!
*****************************************
Well it is getting better, but my servo isn't turning. There are just a noise like: "BZZZZZ....." But nothing happens. I tried few impulse frequences : 100,200 ms. Maby my battery amperage is too low.....
Bookmarks