Author |
Message |
Topic: set_pwm1_duty : range of the parameter ? |
franckcl
Replies: 2
Views: 5876
|
Forum: General CCS C Discussion Posted: Mon Aug 20, 2007 7:20 am Subject: set_pwm1_duty : range of the parameter ? |
Hi,
I have a question about the use of the funcion set_pwm1_duty(int value).
What is the range of the value passed into parameter ?
I have tried that :
unsigned char b;
b=101;
set_pwm1_dut ... |
Topic: [RESOLVED] How to change the use of Tx I/O during execution? |
franckcl
Replies: 2
Views: 3965
|
Forum: General CCS C Discussion Posted: Fri Jan 19, 2007 9:06 am Subject: [RESOLVED] How to change the use of Tx I/O during execution? |
I have found ! here under the solution:
bit_clear(RCSTA1,7); // Serial port 1 disabled
bit_clear(RCSTA2,7); // Serial port 2 disabled
|
Topic: [RESOLVED] How to change the use of Tx I/O during execution? |
franckcl
Replies: 2
Views: 3965
|
Forum: General CCS C Discussion Posted: Fri Jan 19, 2007 8:07 am Subject: [RESOLVED] How to change the use of Tx I/O during execution? |
Hello,
I am writing a test program for my product and during the test phase, I would like to change the Tx output (Serial communication) into a standard I/O port. Same question for Rx input.
The s ... |
Topic: How to use the MCLR input PIN as a standard I/O port ? |
franckcl
Replies: 1
Views: 3588
|
Forum: General CCS C Discussion Posted: Fri Jan 19, 2007 8:02 am Subject: How to use the MCLR input PIN as a standard I/O port ? |
Hello all,
During the execution of my program I would like to change the use of the MCLR input into a standard input pin (I would like to deactivate the RESET Input)
How to do that ?
(PIC18F672 ... |
Topic: How to change the direction of a I/O ? |
franckcl
Replies: 2
Views: 6598
|
Forum: General CCS C Discussion Posted: Wed Mar 15, 2006 8:31 am Subject: How to change the direction of a I/O ? |
Thank you for your complet respons.
I try this now.
Thank you
Franck |
Topic: How to change the direction of a I/O ? |
franckcl
Replies: 2
Views: 6598
|
Forum: General CCS C Discussion Posted: Wed Mar 15, 2006 7:59 am Subject: How to change the direction of a I/O ? |
Hi all,
In my software, I am using the #USE FAST_IO directive.
Is there a function like "SET_TRIS_X" but for only one bit (and not a Byte) ?
Thank you
Franck |
Topic: ICDWarn0035: Debug mode must be disabled. Disable debug mo |
franckcl
Replies: 6
Views: 10449
|
Forum: General CCS C Discussion Posted: Wed Sep 15, 2004 1:53 am Subject: ICDWarn0035: Debug mode must be disabled. Disable debug mo |
It's works !!! I don't know why but it's works !!!
I have copy my project in an other one with a different name and now, I don't have this error message.
Strange..........
thank you for your help ... |
Topic: ICDWarn0035: Debug mode must be disabled. Disable debug mo |
franckcl
Replies: 6
Views: 10449
|
Forum: General CCS C Discussion Posted: Wed Sep 15, 2004 12:44 am Subject: ICDWarn0035: Debug mode must be disabled. Disable debug mo |
here is my program :
#device PIC16F876
void Main()
{
}
And when I try to program the pic, I have always this error message.
Franck |
Topic: ICDWarn0035: Debug mode must be disabled. Disable debug mo |
franckcl
Replies: 6
Views: 10449
|
Forum: General CCS C Discussion Posted: Tue Sep 14, 2004 8:07 am Subject: ICDWarn0035: Debug mode must be disabled. Disable debug mo |
Hi,
MPLAB 6.60, CCS 2.07, PIC 16F876
When I run MPLAB in programmer mode, and when I program the PIC I have this error message :
"ICDWarn0035: Debug mode must be disabled. Disable debug mode ... |
Topic: version 3208 |
franckcl
Replies: 2
Views: 6473
|
Forum: General CCS C Discussion Posted: Thu Sep 02, 2004 3:45 am Subject: version 3208 |
Hi,
I have exactly the same problem.
Using WIN2000, MPLAB v6.60 and CCS 3.208 (upgraded from 3.207) at the end of the compilation, I have a software exception followed by a runtime error 217 at E3 ... |
Topic: Problem with v3.186 ? |
franckcl
Replies: 6
Views: 16811
|
Forum: General CCS C Discussion Posted: Fri Feb 27, 2004 8:59 am Subject: Problem with v3.186 ? |
Yes I am using constant of strings to display messages on the LCD.
const char C_STR[]={
"Aucun archivage !_" "Log is empty !_"\
" (+) (-) (suite)_" " (+) (-) (next)_"\
etc...
If I ha ... |
Topic: Problem with v3.186 ? |
franckcl
Replies: 6
Views: 16811
|
Forum: General CCS C Discussion Posted: Fri Feb 27, 2004 7:21 am Subject: Problem with v3.186 ? |
Hello,
I have compiled my program with the last version 3.186 and it does not run fine (I have nothing in my LCD display then I can suppose there is a problem with the string array...)
If I compil ... |
Topic: How to change compiler options in IDE |
franckcl
Replies: 2
Views: 11974
|
Forum: General CCS C Discussion Posted: Wed Feb 04, 2004 8:14 am Subject: How to change compiler options in IDE |
I think that I will buy glasses...
Thank you |
Topic: How to change compiler options in IDE |
franckcl
Replies: 2
Views: 11974
|
Forum: General CCS C Discussion Posted: Wed Feb 04, 2004 7:53 am Subject: How to change compiler options in IDE |
Hi,
I just would like to know how to change compiler options in the PCW IDE such as -T command in the command line compiler ?
Thank you
Franck |
Topic: "ROM Used" in .LST strange result ? |
franckcl
Replies: 2
Views: 11424
|
Forum: General CCS C Discussion Posted: Wed Jan 28, 2004 2:34 am Subject: "ROM Used" in .LST strange result ? |
I have found where is the problem !!!
In your source, just after "#include <18F6720.h>" try to add this line :
#device ICD=TRUE
and see the difference of the "ROM USED" !!!!!!!!
Franc ... |
|