Author |
Message |
Topic: PIC16F628 Portb Pullups Enable |
2-Chri
Replies: 2
Views: 4981
|
Forum: General CCS C Discussion Posted: Sun Apr 29, 2012 2:41 pm Subject: PIC16F628 Portb Pullups Enable |
FInally works. I disconect the pins PGC and PGC from ICD3 to PIC and works OK! Thanks! |
Topic: PIC16F628A Comparator mode |
2-Chri
Replies: 2
Views: 6687
|
Forum: General CCS C Discussion Posted: Sun Apr 29, 2012 10:48 am Subject: PIC16F628A Comparator mode |
I write the below command and works perfect.
setup_comparator(NC_NC_A1_A2); // Turn on Comparator C2.
Comparator C1 is not used.
Thanks for your answer. |
Topic: PIC16F628 Portb Pullups Enable |
2-Chri
Replies: 2
Views: 4981
|
Forum: General CCS C Discussion Posted: Sat Apr 28, 2012 4:02 pm Subject: PIC16F628 Portb Pullups Enable |
Hello,
I want to enable the internal pullups resistor but I couldn't enable the resistors. My code is below:
#include <16F628A.h>
#include <Lcd_16x2_4bit_Operation_2.c>
#fuses HS,MCL ... |
Topic: PIC16F628A Comparator mode |
2-Chri
Replies: 2
Views: 6687
|
Forum: General CCS C Discussion Posted: Sat Apr 28, 2012 11:53 am Subject: PIC16F628A Comparator mode |
Hello,
I want to use C2 comparator of PIC16F628A. Please could anyone to explain me the two below commands. Pin RA2 has a stable voltage at 2,5V (Vref) and pin RA1 is my analog input. The pins RA0 an ... |
Topic: Program PIC with ICD3 via CCS compiler |
2-Chri
Replies: 7
Views: 11583
|
Forum: General CCS C Discussion Posted: Sat Mar 24, 2012 2:59 am Subject: Program PIC with ICD3 via CCS compiler |
Finally i put the MPLAB plug in and i work ccs compiler via MPLAB. Thanks for help. |
Topic: Program PIC with ICD3 via CCS compiler |
2-Chri
Replies: 7
Views: 11583
|
Forum: General CCS C Discussion Posted: Fri Mar 23, 2012 3:19 pm Subject: Program PIC with ICD3 via CCS compiler |
Yes I have already install it and I reinstall now but I have the same problem. I can't make program. Thanks. |
Topic: Program PIC with ICD3 via CCS compiler |
2-Chri
Replies: 7
Views: 11583
|
Forum: General CCS C Discussion Posted: Fri Mar 23, 2012 2:44 pm Subject: Program PIC with ICD3 via CCS compiler |
I have already install MPLABĀ® ICD3 and MPLABĀ®IDE Plug-in. I reinstall it and didn't change. Thanks! |
Topic: Program PIC with ICD3 via CCS compiler |
2-Chri
Replies: 7
Views: 11583
|
Forum: General CCS C Discussion Posted: Fri Mar 23, 2012 2:19 pm Subject: Program PIC with ICD3 via CCS compiler |
Hello,
I can't program the PIC16F628 with ICD3 via CCS compiler. Could anyone tell me the steps so to program. When I connect the ICD3 the icon "button" ICD is disable (in picture below).
... |
|