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



On 9 Sep, 04:16, ssylee <sta***...@xxxxxxxxx> 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

The printf is hardware specific in that the compiler needs to know
what hardware it is sending too i.e. lcd display ect.

Flashing an LED is just a case of setting up an i/o/ pin as an output
then toggling the pin level at a timed rate.

www.ckp-railways.talktalk.net/pcbcad21.htm

.