Jason,

Well... Here is a small program that will blink the LED's... You should be able to copy and paste...
It's about as simple as it gets

I just tested it on my LowPinCount board with a 16F690.

One of the hardest things for me was to understand how to READ the datasheet for what ever PIC I was using. GET IT! and have it handy as a .pdf to refer to. You might also print out certain pages that you refer to alot.

If you run into specific problems... post back here. There are MANY good programmers here that can jump into help.

OH yea, Did I mention MAKE THE DATASHEET YOUR FRIEND.

I am not repeating that to be obnoxious!!

It took me a while and several bouts of knocking my head against the wall. Once you understand that in order to correctly initialize whatever peripheral (adc, pwm, output, input, timer, interupt, etc.) you are wanting to use... you MUST refer to the datasheet for the specific registers, (adcon0, cmcon, TRISA. ETC) and which bits do what. Also each PIN of the PIC has a page in the datasheet that usually details what registers affect that pin and its function.

you didn't mention if you had the PicBasic compiler or not... so I hope this is useful.


Code:
' 16F690
'****************************************************************
'*  Name    : UNTITLED.BAS                                      *
'*  Author  : [select VIEW...EDITOR OPTIONS]                    *
'*  Notice  : Copyright (c) 2007 [select VIEW...EDITOR OPTIONS] *
'*          : All Rights Reserved                               *
'*  Date    : 11/11/2007                                        *
'*  Version : 1.0                                               *
'*  Notes   :                                                   *
'*          :                                                   *
'****************************************************************
I Var Byte 
TRISC = %11110000 
ansel = 0
Start: 
For I = 0 To 3 
PortC.0[I] = 1 
Pause 150 
Next I 
For I=3 To 0 Step -1 
PortC.0[I] = 0 
Pause 150 
Next I 
Goto Start
I hope this helps