Re: getting started on C programming on PIC16F628A, PIC16F690, OR PIC18F2620




"ssylee" wrote...
I'm trying to get started with C programming on either one of the PIC
microcontrollers in MPLAB IDE using C18 compiler (or any other C
compiler that Microchip makes), however, I'm having some trouble
drafting a source code that has, for example, LEDs flashing or display
a "Hello World" message through printf() and in such fashion that I
can see it on a host computer. Does anyone know any good resources in
those tasks that could help me get started?

Stanley


Microchip has a section of their web forum dedicated to the MPLAB C18
compiler at: http://forum.microchip.com/tt.aspx?forumid=3

That's probably the best place to start. Try some of the examples included
with C18 on install, and if you have questions, ask them on the C18 forum.

There are plenty of helpful folks on the C18 forum that can help you get started.

Regards,

-Bruce
http://www.rentron.com


.



Relevant Pages

  • Re: Software architecture using C for mid-range PIC.
    ... The C18 compiler will compile your construct but will generate a lot ... Lookup tables, constants, etc can be forced into flash locations to ... I have also found that the default IDE libraries are compiled for 24 bit ...
    (comp.arch.embedded)
  • Re: C Compiler comparison for PIC18?
    ... >>> Does anyone out there know about a decent c compiler which targets the ... > The Microchip C18 compiler seems to have a steep learning curve. ... I've done commercial products using the CCS PCH compiler. ...
    (comp.arch.embedded)
  • Re: Which PIC18 C Compiler?
    ... The compiler would give a message saying something ... but the C18 appears to be more "ANSI ... union hello test; ...
    (comp.arch.embedded)
  • Re: C Compiler comparison for PIC18?
    ... >> I've done commercial products using the CCS PCH compiler. ... >> some projects to C18 to see how it stacks up. ... And then ISR performance is a joke. ...
    (comp.arch.embedded)
  • Re: C Compiler comparison for PIC18?
    ... > I've done commercial products using the CCS PCH compiler. ... > some projects to C18 to see how it stacks up. ... problem where high ISRs corrupt some registers on exit from the high ISR ...
    (comp.arch.embedded)