Author |
Message |
Topic: Silly question blinking a led (delay_ms) |
Surfer83
Replies: 21
Views: 27052
|
Forum: General CCS C Discussion Posted: Mon Dec 05, 2011 1:10 am Subject: PROBLEM SOLVED! |
Thank you so much guys for assisting me and giving advices on this problem. After posting the first thread, I already had a feeling there must be something simple going wrong but the frustration of un ... |
Topic: Silly question blinking a led (delay_ms) |
Surfer83
Replies: 21
Views: 27052
|
Forum: General CCS C Discussion Posted: Mon Dec 05, 2011 12:21 am Subject: Silly question blinking a led (delay_ms) |
What is your compiler version number? It looks something like 4.xxx, i.e. 3 digits after the dot.
NOMCLR fuse is used by default for this chip when you specify nothing, but best to specific about y ... |
Topic: Silly question blinking a led (delay_ms) |
Surfer83
Replies: 21
Views: 27052
|
Forum: General CCS C Discussion Posted: Mon Dec 05, 2011 12:19 am Subject: Silly question blinking a led (delay_ms) |
You talk about the ICD2. Does this mean you have the 18 to 28pin adapter AC162053?. If not, you are aware the ICD, is _not_ available on the 18pin device?.
Hopefully you are just using the ICD2 as a ... |
Topic: Silly question blinking a led (delay_ms) |
Surfer83
Replies: 21
Views: 27052
|
Forum: General CCS C Discussion Posted: Wed Nov 30, 2011 8:14 am Subject: Silly question blinking a led (delay_ms) |
BTW I'm using a ICD2,version 4. CCS I'm using and a solderless protoboard.
Man this really sucks, just to blink this LED and I had a bad feeling there must be some silly thing that I missed. ... |
Topic: Silly question blinking a led (delay_ms) |
Surfer83
Replies: 21
Views: 27052
|
Forum: General CCS C Discussion Posted: Wed Nov 30, 2011 7:59 am Subject: Silly question blinking a led (delay_ms) |
#include <16F628.h>
#use delay(internal=4M)
#fuses INTRC_IO, NOWDT, BROWNOUT, NOPUT, NOLVP, ,NOCPD
void main()
{
while(1)
{
output_high ... |
Topic: Silly question blinking a led (delay_ms) |
Surfer83
Replies: 21
Views: 27052
|
Forum: General CCS C Discussion Posted: Fri Nov 25, 2011 6:18 am Subject: Silly question blinking a led (delay_ms) |
I have 1K ohm current limiter, positive side of the LED connected from 1K ohm end and the negative side of the LED to the ground. I have 10k pull up to Vdd on the MCLR PIN. Supply is 5 volt from a 5vo ... |
Topic: Silly question blinking a led (delay_ms) |
Surfer83
Replies: 21
Views: 27052
|
Forum: General CCS C Discussion Posted: Fri Nov 25, 2011 4:19 am Subject: Silly question blinking a led (delay_ms) |
I just started using C for programming by running some simple code. I have some experience using assembly but seems like everyone telling me I should go to C. SO here I'm stuck with the simplest code ... |
|