Author Topic: complile pic16f84  (Read 696 times)

0 Members and 1 Guest are viewing this topic.

Offline jualepuiutuTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
complile pic16f84
« on: August 17, 2012, 02:37:57 AM »
Hello ! i want to build this project : 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 !!

Offline waltr

  • Supreme Robot
  • *****
  • Posts: 1,928
  • Helpful? 98
Re: complile pic16f84
« Reply #1 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.

 


Get Your Ad Here

data_list