chipKIT® Development Platform

Inspired by Arduino™

Programming language differences

Created Fri, 02 Nov 2012 11:52:12 +0000 by ITPhoenix


ITPhoenix

Fri, 02 Nov 2012 11:52:12 +0000

Big time newb.

I am wondering what, if any, are the differences of the various language options with the ChipKit32 Uno.

I would prefer to write in C, but is there any advantage to learning, say, Assembler or one of the others.

Here is the deal. I am starting with a 6 node microphone array for a robot that obviously needs to be controlled, and the Uno32 is perfect for that app. But later, some other control apps may require the Max, or even beyond, in the microprocessor realm.

I really would like to avoid learning more than one language since this would slow down the project due to time constraints. So the question is which is the best bet if there is only one to choose?

Edit: I need to know C for Linux and many programs.


JordanR

Fri, 02 Nov 2012 20:18:23 +0000

Hello ITPhoenix,

If you want to use C and the chipKIT Uno32, you will need a programmer/debugger (such as the chipKIT PGM, or the PICkit3). Then you will be able to use Microchip's MPLAB.

Is there an advantage to learning assembly? Of course there is. Learning is always good. But if your project has a time constraint then its really dependent on how much work you want to put in. Good luck!

Best Regards,

Jordan R


zulucat

Sat, 03 Nov 2012 06:34:09 +0000

The normal tool for developing code on the Uno32 is MPIDE. Programs (sketches) are written in C so that is the language to learn. Just about anything you would want to do can be done in C.

If you are starting to learn C and are looking for a good book I can recommend "Programming in C" by Stephen Kochan.