Author |
Message |
Topic: PCB for 80-pin TQFP. |
xinyh
Replies: 2
Views: 4237
|
Forum: General CCS C Discussion Posted: Wed May 24, 2006 1:24 am Subject: PCB for 80-pin TQFP. |
Dear friends,
I'd like to do PCB for PIC18F8585, can any guy give me the lib file of the 80-pin TQFP? or can tell me where to download. Thanks!
xinyh |
Topic: A question of C programming |
xinyh
Replies: 5
Views: 11973
|
Forum: General CCS C Discussion Posted: Tue Jun 29, 2004 4:15 am Subject: A question of C programming |
Hi Ttelmah, my CCS is PCB Version 2.722, it dosen't support int8, int16, and int32, it only has long int, in this way, how to do? Thanks very much! |
Topic: A question of C programming |
xinyh
Replies: 5
Views: 11973
|
Forum: General CCS C Discussion Posted: Mon Jun 28, 2004 8:20 am Subject: A question of C programming |
OK. Then I can use sprintf() to convert it first, thanks! |
Topic: A question of C programming |
xinyh
Replies: 5
Views: 11973
|
Forum: General CCS C Discussion Posted: Mon Jun 28, 2004 6:39 am Subject: A question of C programming |
I would like to convert a float value to whole number values individually, e.g. float X0 = 4.63, convert to int x1 = 4, x2 = 6, x3 = 3. Appreciate for telling me how to do that!
With Best Regards,
... |
Topic: ADC *** Locked. 2004 thread. |
xinyh
Replies: 25
Views: 79637
|
Forum: General CCS C Discussion Posted: Tue May 25, 2004 9:46 pm Subject: ADC *** Locked. 2004 thread. |
Hi Ttelmah, Haplo and all,
It's working now. What I did is as below:
1. Rebuilt the project by PIC wizard;
2. Define value as "Long int value";
3. float = (float)value*(5.0/1024.0); don't use ... |
Topic: ADC *** Locked. 2004 thread. |
xinyh
Replies: 25
Views: 79637
|
Forum: General CCS C Discussion Posted: Tue May 25, 2004 3:45 am Subject: ADC *** Locked. 2004 thread. |
Hi Ali,
You are right! In my CCS Vision, there are not int8 and int16, so I use long int, but the problem is same, maybe I will change the format in printf(), appreciate it for give some example of ... |
Topic: ADC *** Locked. 2004 thread. |
xinyh
Replies: 25
Views: 79637
|
Forum: General CCS C Discussion Posted: Tue May 25, 2004 2:30 am Subject: ADC *** Locked. 2004 thread. |
Hi Ttelmah,
Thanks for your reply!
My condition is like that, the analog voltage is 2.987V, for 10 bits, the hex value should be 2.987*(1024/5) = 263, but the value returned is 0063. The code is ... |
Topic: ADC *** Locked. 2004 thread. |
xinyh
Replies: 25
Views: 79637
|
Forum: General CCS C Discussion Posted: Tue May 25, 2004 1:50 am Subject: ADC *** Locked. 2004 thread. |
read_adc() only return 8bits of the 10bits, so a new function is needed, anyone can help? |
Topic: output_high |
xinyh
Replies: 11
Views: 30520
|
Forum: General CCS C Discussion Posted: Fri Apr 30, 2004 10:03 am Subject: output_high |
Hi, mle,
Did you do programming using VC++ in pc? How did you do? I only receive space in pc. Thanks!
Best Regards,
Xinyh |
Topic: Problem of button programming |
xinyh
Replies: 6
Views: 15219
|
Forum: General CCS C Discussion Posted: Mon Apr 26, 2004 9:42 am Subject: Problem of button programming |
Hi All,
Got it. Just use !input(PIN_B1) instead of (!PIN_B1). |
Topic: Problem of button programming |
xinyh
Replies: 6
Views: 15219
|
Forum: General CCS C Discussion Posted: Sun Apr 25, 2004 4:33 am Subject: Problem of button programming |
Hi Dear All,
I try a button programming of PIC16F877, now the problem is when I switch on, A1 is in high already, what ever which button is pressed, it never change. My programming is below, anyone ... |
|