I've been doing circuits for awhile and have been learning a lot. Now i'm trying to get into programming and microcontrollers and i'm not fully understanding it. I started first in learning C programming which i've made a few programs and I think I got the hang of it for a starter. I got a Velman K8048 for my starting kit and I got a pic16f627. I have Bloodshed for my compiler.
I've downloaded a hex which I can upload with no problem to the pic and used perfectly.
My question is how do you program C into a microcontroller. I can make computer programs but how does it work with pics. How to you determine what which port/pin does what? Would i have to make a special header file for each pic that I use so it can work?
Any help please!! Thank you for your time in reading and help!
I've downloaded a hex which I can upload with no problem to the pic and used perfectly.
My question is how do you program C into a microcontroller. I can make computer programs but how does it work with pics. How to you determine what which port/pin does what? Would i have to make a special header file for each pic that I use so it can work?
Any help please!! Thank you for your time in reading and help!