On 8/9/2010 11:02 PM, Bjorn Again wrote:
> I am sure that I can buy a 250$ compiler to convert PBasic to hex, or ASM, or 
> C, but there has to be an easier way!  All the books on C I can find are 
> oriented towards computer programming, not towards low level microcontroller 
> operations.  This project I am referencing here is a simple clock program, 
> that will control 6 ICs.  I don't know how, in C to do pin high/low 
> statements and pauses, which is all I really need!
> I have MPlab IDE and the Pickit 2 to program and debug, but without the 
> proper language to program a PIC with, I'm in Limbo!
> I'm pulling my hair out here!
>    

C does not do what you need. You need to do one of two things:

1. Find a library that does this for you, and control it at a high 
level, letting it handle the low level details.

2. Write a library or module that makes assembler calls to do what you 
need. Essentially, you're writing the library in my first suggestion.

-- 
John Gaughan
http://www.johngaughan.net/

Reply via email to