Programming PICs in C: Resource Guide

  • Thread starter Thread starter Jammin_James
  • Start date Start date
  • Tags Tags
    Programming
Click For Summary
The discussion centers on programming the PIC16F690 microcontroller, with a focus on transitioning from assembly language to C. Users seek recommendations for free resources to learn PIC programming in both C and assembly. Suggestions include downloading tools from the Microchip website and considering the CC5X compiler for basic use. There are mentions of the PICkit programmer for in-circuit programming options. Additionally, there is a brief tangent regarding the limitations of general-purpose registers in PIC 16 series compared to Atmel chips.
Jammin_James
Messages
49
Reaction score
0
Hey all!

So I recently purchased a PIC16F690 for a project and I've been trying to learn the assembly language for it and it's turning into a somewhat daunting task. I've programmed in assembly before but it was with an ATMEL chip. This was about two years ago, so everything is kinda fuzzy. I've decided to try to apply what I've learned in C to this project now, since I assume it's a more general language I can use in any microcontroller project.

Is there a good, free resource I can look at to get started programming PICs in C? Maybe even a good resource of programming PICs in their assembly language.

Thanks guys!
 
Engineering news on Phys.org
Go to the Microchip web-site and download everything you need. You will need to purchase a programmer. A PicKit isn't too expensive.
 
I don't remember why but I settled on CC5X http://www.bknd.com/cc5x/ for the PIC 16F's.
Free for the basic version and seems to work fine. Microchip may have something better for the 16's -- I use their free 18F compiler -- but I ignored it.

If you are doing in-circuit programming see Microchip's PICkit's or look at sparkfun.com for some other options ICSP and not.
 
Hi all.
Iam trying to write extended kalman filter algorithm in microC (dspic) software.
My question is how to invert a matrix in that software? I have read the manual but could'nt find any command for matrix inversion.pls check out the attachment.
can anyone help me out...!
thanks in advance.
 
Hmm this is vaguely on topic but I remember the Atmel chips were easier to program in asm because of the number of registers which were freely usable.

Do the PIC 16 series only have 1 general purpose register?
 
Thread 'I thought it was only Amazon that sold unsafe junk'
I grabbed an under cabinet LED light today at a big box store. Nothing special. 18 inches in length and made to plug several lights together. Here is a pic of the power cord: The drawing on the box led me to believe that it would accept a standard IEC cord which surprised me. But it's a variation of it. I didn't try it, but I would assume you could plug a standard IEC cord into this and have a double male cord AKA suicide cord. And to boot, it's likely going to reverse the hot and...

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 17 ·
Replies
17
Views
24K
  • · Replies 6 ·
Replies
6
Views
2K