Author |
Message |
Topic: Code made in version 4.114 does not work in version 5. |
sandrini
Replies: 4
Views: 9011
|
Forum: General CCS C Discussion Posted: Wed Aug 27, 2014 6:24 am Subject: Code made in version 4.114 does not work in version 5. |
Thank you PCM,
My program works now. |
Topic: Code made in version 4.114 does not work in version 5. |
sandrini
Replies: 4
Views: 9011
|
Forum: General CCS C Discussion Posted: Tue Aug 26, 2014 1:51 pm Subject: Code made in version 4.114 does not work in version 5. |
Dear PCM programmer,
I made a program with 20 messages and again, in version 5.026, I have a problem... the messages does not appear in the LCD from the message 6.
But in version 4.114 all the me ... |
Topic: Code made in version 4.114 does not work in version 5. |
sandrini
Replies: 4
Views: 9011
|
Forum: General CCS C Discussion Posted: Tue Aug 26, 2014 4:54 am Subject: Code made in version 4.114 does not work in version 5. |
Dear Sirs,
I have a problem in my PCWHD compiler version 5.026. The below code compile without errors, but when I program my microcontroller, many messages are not showed in display.
This code ... |
Topic: set_tris_x PIC16F877A |
sandrini
Replies: 7
Views: 8136
|
Forum: General CCS C Discussion Posted: Tue Jun 11, 2013 10:24 am Subject: set_tris_x PIC16F877A |
Thank you asmboy and Ttelmah,
Yes, I understand BANK Select and you are right, I really was wrong....
But the problem is in the compiler...This C code was made in v4.140 of the compiler and it is ... |
Topic: set_tris_x PIC16F877A |
sandrini
Replies: 7
Views: 8136
|
Forum: General CCS C Discussion Posted: Tue Jun 11, 2013 7:43 am Subject: set_tris_x PIC16F877A |
asmboy,
The right address to the TRISD for example is 0x85 and when I use set_tris_d, the selected address is being 0x05.
The address 0x05 is the PORTD's address... |
Topic: set_tris_x PIC16F877A |
sandrini
Replies: 7
Views: 8136
|
Forum: General CCS C Discussion Posted: Tue Jun 11, 2013 7:17 am Subject: set_tris_x PIC16F877A |
I am having a trouble in using set_tris_x function to the PIC16F877A.
I am using the recent version of the compiler (v5.006).
When I use set_tris_x function, it seems that the value is being appli ... |
Topic: MRF24J40 module |
sandrini
Replies: 12
Views: 22543
|
Forum: General CCS C Discussion Posted: Thu Dec 16, 2010 4:42 am Subject: MRF24J40 module |
Dear PCM programmer
The link mikroC compiler for example is: http://www.mikroe.com/eng/products/view/364/easybee3-board/
My version of CCS is the V4.115.
Thanks. |
Topic: MRF24J40 module |
sandrini
Replies: 12
Views: 22543
|
Forum: General CCS C Discussion Posted: Wed Dec 15, 2010 10:01 am Subject: MRF24J40 module |
Dear Friends,
I'm trying to use the module mrf24j40 with CCS compiler and managed to find an example done in the compiler MikroC.
I made the adjustments of variable types for the CCS and even wor ... |
Topic: PIC24F and ADC expression |
sandrini
Replies: 6
Views: 9187
|
Forum: General CCS C Discussion Posted: Mon Nov 29, 2010 4:56 am Subject: PIC24F and ADC expression |
I'm using version 4.108 and I also believe it is a bug in the compiler.
I have no problems with the PIC 16F and / or 18F, only now I started working with the PIC 24F, I noticed these problems. |
Topic: PIC24F and ADC expression |
sandrini
Replies: 6
Views: 9187
|
Forum: General CCS C Discussion Posted: Sun Nov 28, 2010 12:00 pm Subject: PIC24F and ADC expression |
gpsmikey temtronic and I would like to thank ...
In my code, the correct is "printf (lcd_escreve," \ fADC =% ld ", ad_c);"
I do not know what is happening, but when I use the ... |
Topic: PIC24F and ADC expression |
sandrini
Replies: 6
Views: 9187
|
Forum: General CCS C Discussion Posted: Sun Nov 28, 2010 8:39 am Subject: PIC24F and ADC expression |
Please,
I'd like a help with this code below...
The ad_c value shows the value 63 when the ADC value is 1023.
The expression "ad_c = (ad_c * 3300)/1023;" return a wrong value.
#inc ... |
Topic: ADC and INTERRUPT PIC 16F877A |
sandrini
Replies: 1
Views: 5553
|
Forum: General CCS C Discussion Posted: Wed Mar 18, 2009 8:35 am Subject: ADC and INTERRUPT PIC 16F877A |
I have a problem when I use the ADC and Timer0, Timer1 or Timer2 interrupt...
When I disable the interrupt, ADC return 1022 and when I enable the interrupt, the ADC return 973...
ADC return 614 whe ... |
|