Author |
Message |
Topic: signed int 16 or signed int 32 |
pop
Replies: 6
Views: 22561
|
Forum: General CCS C Discussion Posted: Mon Mar 21, 2005 5:23 pm Subject: signed int 16 or signed int 32 |
Thanks for the help!
I will probably go with the lazy way and use signed int32 as that could also be less costly (e.g. not much memory left on my pic:D) than using a lookup table.
I did consider ... |
Topic: signed int 16 or signed int 32 |
pop
Replies: 6
Views: 22561
|
Forum: General CCS C Discussion Posted: Sun Mar 20, 2005 5:54 pm Subject: signed int 16 or signed int 32 |
Thanks newguy
So if I have something like the following can I store it into an signed int 16
signed int 16 temperature;
temperature=203593-222*(adcValue);
Due to linearization (hardware: R ... |
Topic: signed int 16 or signed int 32 |
pop
Replies: 6
Views: 22561
|
Forum: General CCS C Discussion Posted: Sun Mar 20, 2005 11:19 am Subject: signed int 16 or signed int 32 |
Hi,
What is the range of signed int 16? I am familiar with unsigned integer ranges, but I am not sure how signed numbers are handled in a PIC.
After doing some temperature based calculations I c ... |
Topic: Triac Gate Pulses |
pop
Replies: 2
Views: 8330
|
Forum: General CCS C Discussion Posted: Tue Feb 15, 2005 5:55 pm Subject: Triac Gate Pulses |
Hi,
I am working on a project where I independently control two triacs
(pins B1 and B2) with 16F877 microcontroller. Before using an actual
microcontroller I thoroughly tested my triac firing c ... |
Topic: External Interrupt Trigger level |
pop
Replies: 3
Views: 6379
|
Forum: General CCS C Discussion Posted: Tue Jan 18, 2005 2:39 pm Subject: External Interrupt Trigger level |
Thanks guys. I better look at the datasheet closely next time :D |
Topic: External Interrupt Trigger level |
pop
Replies: 3
Views: 6379
|
Forum: General CCS C Discussion Posted: Mon Jan 17, 2005 8:56 pm Subject: External Interrupt Trigger level |
Hi
I've built a zero crossing circuit (using LM311) that will input the zero cross pulses into RB0/EXT pin of my 16F877 microcontroller.
What amplitude and width of a pulse can 16F877's external ... |
Topic: simulator question |
pop
Replies: 5
Views: 8685
|
Forum: General CCS C Discussion Posted: Mon Jan 17, 2005 8:47 pm Subject: simulator question |
I work with 2 simulators:
1. MPLAB (e.g. MPSIM comes with MPLAB)
I use MPLAB5.7 although some later (MPLAB MPSIM) 6.XX versions like 6.4 are reported to be stable. Judging from Microchip's forum ... |
Topic: MPLAB 6.40 and CCS Again! |
pop
Replies: 2
Views: 8466
|
Forum: General CCS C Discussion Posted: Fri Jan 07, 2005 1:52 pm Subject: MPLAB 6.40 and CCS Again! |
Finally it compiled!
Thank you very much PCM programmer! |
Topic: MPLAB 6.40 and CCS Again! |
pop
Replies: 2
Views: 8466
|
Forum: General CCS C Discussion Posted: Fri Jan 07, 2005 12:49 pm Subject: MPLAB 6.40 and CCS Again! |
Hi,
I previously asked you guys how do I run CCS compiler on MPLAB 6.4. It turned out that apparently my compiler version was too old. (3.112)
Right now I' m at the lab where we have a newer ver ... |
Topic: MPLAB 6.4 CCS Error |
pop
Replies: 4
Views: 9829
|
Forum: General CCS C Discussion Posted: Wed Jan 05, 2005 8:25 pm Subject: MPLAB 6.4 CCS Error |
You're right PCM programmer. I just checked my compiler version (using "ccsc +v" and it is 3.112.
I forgot to mention that I did install the plugin after installing Mplab 6.4.
ckielstra, you m ... |
Topic: MPLAB 6.4 CCS Error |
pop
Replies: 4
Views: 9829
|
Forum: General CCS C Discussion Posted: Wed Jan 05, 2005 3:18 pm Subject: MPLAB 6.4 CCS Error |
I've just installed Mplab 6.4. I don't want to install version 7.0 as alot of people on microchip forums are reporting problems with its simulator.
I have also installed CCS plugin after MPLAB inst ... |
Topic: MPLAB A/D 10 bit Simulating |
pop
Replies: 3
Views: 6016
|
Forum: General CCS C Discussion Posted: Tue Jan 04, 2005 10:26 pm Subject: MPLAB A/D 10 bit Simulating |
Hi,
I have 2 questions.
1. I am using MPLAB 5.7 and I want to simulate my program which uses 10 bit A/D (e.g. 16F877). I would rather do this on an actual PIC, but I currently don't have access ... |
Topic: I got a problem doing ccsc +setup |
pop
Replies: 2
Views: 30650
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Wed Dec 15, 2004 10:36 pm Subject: I got a problem doing ccsc +setup |
with mplab 5.7, I never had to do ccsc +setup.
When I create a project, I just select ccs compiler with +FM option.
In your case, I have feeling that the command doesn't work because mplab 5.7 use ... |
Topic: CCP Compare Interrupt Problem |
pop
Replies: 3
Views: 11127
|
Forum: General CCS C Discussion Posted: Tue Oct 26, 2004 6:07 am Subject: CCP Compare Interrupt Problem |
Thanks Dave. On MPSIM this works perfectly. I'll give it another shot with PIC simulator, but at least I know the code works.
Thanks again |
Topic: CCP Compare Interrupt Problem |
pop
Replies: 3
Views: 11127
|
Forum: General CCS C Discussion Posted: Tue Oct 26, 2004 5:38 am Subject: CCP Compare Interrupt Problem |
Thank you
I'll try it immediately. I'm suprised the compiler never "noticed" the missing brace.... |
|