Writing C Applications for Microcontrollers

What resources do you know for software development in C microcontrollers for PIC?

I would like to see some kind of structure that processes both IO (input and LCD buttons for output) and application logic. You can think of it as a VERY simple OS. I understand that PIC memory can be small for such frameworks, so I think it can be a code generator that creates specific code based on the configuration file. Then you add code snippets specific to your application. Have you seen something like this?

+5
source share
4 answers

TinyOS (recorded in dialect C) has been ported to some of the PIC microcontrollers:

But if all you want to do is simple I / O, then its method is more complicated than you need, and it is probably much easier to just write the code yourself than go through the learning curve.

In addition, you can write quite complex logic using the PLC logic logic approach. There one is based on PIC microcontrollers at:

+4
source

I have never seen such a library. This is probably due to the fact that the I / O configurations can differ significantly from one project to another, which makes it really difficult for a “common” set of functions.

+1
source

, , . PIC24/dsPIC , .

A/D- .

, : Contiki pico | OS TNKernel

+1

CCS C (http://www.ccsinfo.com). /, , . .

It has a wonderful peer-to-peer support forum http://www.ccsinfo.com/forum . If you are considering CCS C, be sure to check out this forum because it will determine for you some of these features of the IDE.

It is relatively inexpensive. I have been using it for many years. He did an adequate job.

0
source

All Articles