Society of Robots - Robot Forum

Software => Software => Topic started by: jualepuiutu on August 17, 2012, 02:37:57 AM

Title: complile pic16f84
Post by: jualepuiutu on August 17, 2012, 02:37:57 AM
Hello ! i want to build this project : http://www.imagesco.com/articles/picservo/04.html (http://www.imagesco.com/articles/picservo/04.html)

Is first time when i work with pic .. Help me please , how to get .HEX file from source code from dis site !!
Title: Re: complile pic16f84
Post by: waltr on August 18, 2012, 12:38:36 PM
That code looks like some sort of BASIC or even pseudocode but also seems incomplete (No register setup or Config bits).

What did you use to try and build this code?

I recommend using the Free Microchip tools (MPLAB 8) and learning to write assembler code (then later C code but C is not that good for these small processors).
There are many other example projects on the web to control hobby servos with a PIC. Try googling "PIC servo control" to find a few of them.