Author |
Message |
Topic: wrong state of pic16f876 |
microccd
Replies: 5
Views: 7798
|
Forum: General CCS C Discussion Posted: Tue Sep 26, 2006 4:23 pm Subject: wrong state of pic16f876 |
yes, but what's the function of BROWNOUT? thank you. |
Topic: wrong state of pic16f876 |
microccd
Replies: 5
Views: 7798
|
Forum: General CCS C Discussion Posted: Tue Sep 26, 2006 4:03 pm Subject: wrong state of pic16f876 |
the following is what i'm using, are they correct?
#include <16f876.h>
#device ICD=TRUE
#fuses HS,NOWDT,NOLVP,PUT
#use delay(clock=20000000) |
Topic: wrong state of pic16f876 |
microccd
Replies: 5
Views: 7798
|
Forum: General CCS C Discussion Posted: Tue Sep 26, 2006 3:40 pm Subject: wrong state of pic16f876 |
I program and test the pic16f876, most of time, it works fine. but sometime when I turn on the power switch, it was in wrong state(wrong output). I shut it down then turn it on again, it will have the ... |
Topic: question about 16F876 |
microccd
Replies: 9
Views: 10052
|
Forum: General CCS C Discussion Posted: Mon Aug 14, 2006 5:39 pm Subject: question about 16F876 |
thanks a lot for the help. I checked the connections of 16f876. I do use the pullup resistor for the push button. |
Topic: question about 16F876 |
microccd
Replies: 9
Views: 10052
|
Forum: General CCS C Discussion Posted: Mon Aug 14, 2006 4:29 pm Subject: question about 16F876 |
CCS PCM C Compiler, Version 3.181, 23043 |
Topic: question about 16F876 |
microccd
Replies: 9
Views: 10052
|
Forum: General CCS C Discussion Posted: Mon Aug 14, 2006 4:24 pm Subject: question about 16F876 |
Yes, if I take the following code out, it works on 16F876. with the following, works fine on 16F877, but not on 16F876.
if(i==2)
{
while(input(P ... |
Topic: question about 16F876 |
microccd
Replies: 9
Views: 10052
|
Forum: General CCS C Discussion Posted: Mon Aug 14, 2006 3:59 pm Subject: question about 16F876 |
Thanks a lot for the response. Both chips are -20. I tested another program, works fine on both chip. but this one only works on 16F877. and I dont know why |
Topic: question about 16F876 |
microccd
Replies: 9
Views: 10052
|
Forum: General CCS C Discussion Posted: Mon Aug 14, 2006 3:26 pm Subject: question about 16F876 |
I am learning to program the microcontrollers, the following test code works fine on the 16F877 development kit, but it doesn't work on 16F876. why? I appreciate any help.
#include <16f876. ... |
Topic: question on PIC16F876 |
microccd
Replies: 2
Views: 21267
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Fri Aug 11, 2006 3:24 pm Subject: question on PIC16F876 |
help please. |
Topic: question on PIC16F876 |
microccd
Replies: 2
Views: 21267
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Thu Aug 10, 2006 3:20 pm Subject: question on PIC16F876 |
I am learning to program the microcontrollers, the following test code works fine on the 16F877 development kit. But it doesn't work on 16F876. Any help will be highly appreciated.
#include <1 ... |
|