Author |
Message |
Topic: RS232 timeout error with fgetc() function |
monkeyman
Replies: 2
Views: 9617
|
Forum: General CCS C Discussion Posted: Fri Sep 23, 2011 8:11 am Subject: RS232 timeout error with fgetc() function |
i have 2 Rs232 on my project, one harware and one software.
#use rs232(baud="baud rate", xmit=PIN_"w", rcv=PIN_"x" , stream=hard)
#use rs232(baud=" ... |
Topic: deep sleep on XLP pic? |
monkeyman
Replies: 4
Views: 5869
|
Forum: General CCS C Discussion Posted: Wed Feb 03, 2010 4:04 am Subject: deep sleep on XLP pic? |
it's a 24F16KA102 |
Topic: deep sleep on XLP pic? |
monkeyman
Replies: 4
Views: 5869
|
Forum: General CCS C Discussion Posted: Tue Feb 02, 2010 10:56 am Subject: deep sleep on XLP pic? |
Is anybody using the deep sleep mode on a new XLP pic? I don't find post on ccs forum who's talking about this new mode.
I think this mode is not available for the moment in PCWHD version 4.104.
Am ... |
Topic: TIMER1 1sec int external 32.768 Real-Time Clock |
monkeyman
Replies: 10
Views: 104885
|
Forum: Code Library Posted: Mon Sep 28, 2009 9:56 am Subject: TIMER1 1sec int external 32.768 Real-Time Clock |
good
but i think there is a problem with hours...
if (++sec>59){
sec=0;
if(++min>59){
min=0;
... |
Topic: CCS not understanding well |
monkeyman
Replies: 7
Views: 7824
|
Forum: General CCS C Discussion Posted: Wed Oct 22, 2008 3:26 am Subject: CCS not understanding well |
CCS support has help me
The 4.082 release will have the database fix. If a customer wants to fix it himself use TOOLS > DEVICE EDITOR and change the device ID mask to FFF0 for the 18F2520 ... |
Topic: CCS not understanding well |
monkeyman
Replies: 7
Views: 7824
|
Forum: General CCS C Discussion Posted: Thu Oct 09, 2008 2:07 am Subject: CCS not understanding well |
nobody can help me  |
Topic: CCS not understanding well |
monkeyman
Replies: 7
Views: 7824
|
Forum: General CCS C Discussion Posted: Thu Oct 02, 2008 7:31 am Subject: CCS not understanding well |
Are you running with the ICD enabled?. If so, it is the target in this that differs. You have the code setup to use the 2523, but the ICD setup to use the 2520.
If you are talking about the progra ... |
Topic: CCS not understanding well |
monkeyman
Replies: 7
Views: 7824
|
Forum: General CCS C Discussion Posted: Wed Oct 01, 2008 10:17 am Subject: CCS not understanding well |
When I launch a program, CCS say to me "The detected target name:
PIC18F2520 does not match the code's target: PIC18F2523. Do you want
to continue anyway?"
I have put the good include i ... |
Topic: Target h/w running on 3V3, how to connect to programmer? |
monkeyman
Replies: 3
Views: 27159
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Wed Oct 01, 2008 7:28 am Subject: Target h/w running on 3V3, how to connect to programmer? |
here the connections
http://www.ccsinfo.com/faq.php?page=icd_connection
i think 47K on Mclr in 5V and 33K on 3v. |
Topic: does not match... |
monkeyman
Replies: 1
Views: 24702
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Wed Oct 01, 2008 7:21 am Subject: does not match... |
when i use my ICD for debug with firmware CCS ICDU-40 V2.26, CCS say to me "the detected target name: PIC18f2520 does not match the code's target: PIC18F2523.do you want to continue anyway?" ... |
Topic: variable never used?! strange problem!! |
monkeyman
Replies: 3
Views: 5007
|
Forum: General CCS C Discussion Posted: Wed Sep 10, 2008 9:17 am Subject: variable never used?! strange problem!! |
thank you Indy
your example is so good
in my old main :
char CH1[20];
char CH2[1];
float temp_flo;
disable_interrupts(global);
setup_wdt (WDT_ON);
...
I have saw the ... |
Topic: variable never used?! strange problem!! |
monkeyman
Replies: 3
Views: 5007
|
Forum: General CCS C Discussion Posted: Tue Sep 09, 2008 3:23 am Subject: variable never used?! strange problem!! |
Hello
I have a strange problem with a variable in my main:
float temp_flo;
This variable is never used, the compiler say that to me and the program work fine.
When i delete this variable, my p ... |
Topic: Driver For SHT75 Temperature & Humidity Sensor |
monkeyman
Replies: 33
Views: 299797
|
Forum: Code Library Posted: Thu Jun 12, 2008 6:15 am Subject: Driver For SHT75 Temperature & Humidity Sensor |
hello
my sht75 working good in 3v with the same code but i use a pull down of 4.7k on clk pin and pull up on data pin |
Topic: a variable for many pins |
monkeyman
Replies: 6
Views: 6453
|
Forum: General CCS C Discussion Posted: Thu Jun 05, 2008 8:56 am Subject: a variable for many pins |
and thanks a lot |
Topic: a variable for many pins |
monkeyman
Replies: 6
Views: 6453
|
Forum: General CCS C Discussion Posted: Thu Jun 05, 2008 8:55 am Subject: a variable for many pins |
it work.
sorry |
|