Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

C Programming Templates?

Status
Not open for further replies.

digi001

Full Member level 5
Joined
Apr 5, 2011
Messages
244
Helped
22
Reputation
44
Reaction score
21
Trophy points
1,298
Activity points
2,904
Can anyone recommend a compiler or resource that includes some ready-to-use templates for micro controller / electronics systems type of applications in C?

Altera Quartus provides some Verilog templates that I found very useful and educational?

Any available for C?
 

you mean some sample/demo codes?
You can use Hi Tech PCC lite for free with pic series micro demo codes.
 

You didn't specify which MCU you are interested in.
 

If you use Hi-Tech or CCS Compilers the following site provides may good code templates/examples:

MicrochipC PIC Sample Code in C

What compiler and MCU are you using?

I have several other sites which are very compiler and MCU specific.

BigDog
 

Actually I'm looking for generic code examples of routine tasks that are done in C.

I guess not necessarily for an MCU but in the end most of the code will end up there.

Is Microsoft visual c any good for this?
 

Actually I'm looking for generic code examples of routine tasks that are done in C.

I guess not necessarily for an MCU but in the end most of the code will end up there.

Is Microsoft visual c any good for this?

What you are looking for is Embedded C routines. You maybe able to use Microsoft VS C++ Compiler for developing Embedded C code for embedded x86 targets. Any other processor or MCU would require a target specific cross compiler, like Hi-Tech for PICs, Keil for 8051 and ARM, etc.

BigDog
 
  • Like
Reactions: yura717

    yura717

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top