Author |
Message |
Topic: Problem presetting data into data EEPROM |
TCC
Replies: 5
Views: 14363
|
Forum: General CCS C Discussion Posted: Fri Apr 23, 2010 3:20 am Subject: Problem presetting data into data EEPROM |
Hi,
I need to preset some data into data EEPROM and from CCS Help manual, there is something like #rom 0x2100={01,02,03,04,05,06,07}.
I tried it in my program, it couldn't work. Anyone can help? ... |
Topic: problem with comparator interrupt |
TCC
Replies: 5
Views: 8334
|
Forum: General CCS C Discussion Posted: Mon Apr 05, 2010 10:38 pm Subject: problem with comparator interrupt |
I am using PCM V 4.106. |
Topic: problem with comparator interrupt |
TCC
Replies: 5
Views: 8334
|
Forum: General CCS C Discussion Posted: Mon Apr 05, 2010 7:46 pm Subject: problem with comparator interrupt |
Hi,
I have problem triggering the comparator interrupt, when C1+/AN2 input is greater than C1-/AN0 input (this threshold is fixed at 0.207V). I expect the interrupt to trigger, it just don't happe ... |
Topic: RS-232 PIC16F1827 |
TCC
Replies: 6
Views: 7485
|
Forum: General CCS C Discussion Posted: Tue Mar 02, 2010 3:52 am Subject: RS-232 PIC16F1827 |
Hi,
When running with external crystal (in HS mode), I found that the timing of this 1827 chip is always 4x faster of my settings.
For example, during delay_ms(500), i am getting 125ms instead o ... |
Topic: RS-232 PIC16F1827 |
TCC
Replies: 6
Views: 7485
|
Forum: General CCS C Discussion Posted: Mon Mar 01, 2010 7:36 pm Subject: RS-232 PIC16F1827 |
Hi Ttelmah
Thanks for your suggestion, i have a line 'setup_oscillator(OSC_4MHZ)' and it work slightly better..but it still output garbage.
I measured the bit rate from the scope and found that ... |
Topic: RS-232 PIC16F1827 |
TCC
Replies: 6
Views: 7485
|
Forum: General CCS C Discussion Posted: Mon Mar 01, 2010 1:07 am Subject: RS-232 PIC16F1827 |
Yes, my setting in HyperTerminal is correct.
I complied with MPLAB, PCM version 4.105 |
Topic: RS-232 PIC16F1827 |
TCC
Replies: 6
Views: 7485
|
Forum: General CCS C Discussion Posted: Mon Mar 01, 2010 12:17 am Subject: RS-232 PIC16F1827 |
Hi,
I have written a test program but I have problem trying to transmitting out correctly to my PC's COM port using rs-232.
The hyperterminal output shows
€€€€€€€€€€€€� ... |
Topic: Problem with PIC16F1827.h |
TCC
Replies: 3
Views: 6826
|
Forum: General CCS C Discussion Posted: Wed Feb 10, 2010 1:12 am Subject: Problem with PIC16F1827.h |
now using PIC16F1827
Complied with MPLAB, PCM version 4.038
I don't think vs. 4.038 supports the 16F1827. I deleted the 16F1827.h
file from my installation of 4.104, and then installed 4.038, a ... |
Topic: Problem with PIC16F1827.h |
TCC
Replies: 3
Views: 6826
|
Forum: General CCS C Discussion Posted: Wed Feb 10, 2010 12:40 am Subject: Problem with PIC16F1827.h |
Previously using PIC16F690, now using PIC16F1827
Complied with MPLAB, PCM version 4.038
The following errors are as shown below:
*** Error 7 "C:\PROGRA~1\PICC\devices\16F1827.h" Line ... |
|