Author |
Message |
Topic: interrupt with PIC18F6722 |
global
Replies: 4
Views: 6152
|
Forum: General CCS C Discussion Posted: Thu Aug 30, 2007 2:56 am Subject: interrupt with PIC18F6722 |
Hello, ckielstra thanks for your answered,
My external clock is an 7.37Mhz, the configuration of the interrupt shorter, the code launch by the interrupt is too long for the cycle of the interrupt, ca ... |
Topic: interrupt with PIC18F6722 |
global
Replies: 4
Views: 6152
|
Forum: General CCS C Discussion Posted: Thu Aug 30, 2007 1:57 am Subject: interrupt with PIC18F6722 |
Hello, thanks for the answerd,
I enable the timer 0 on the main. But when the code is executing :
enable_interrupts(INT_RTCC);
the PIC stop.
i check the code launched by the interrupt and ... |
Topic: interrupt with PIC18F6722 |
global
Replies: 4
Views: 6152
|
Forum: General CCS C Discussion Posted: Wed Aug 29, 2007 10:01 am Subject: interrupt with PIC18F6722 |
Hello,
I'm actualy using a software with a PIC18F4520, and i want to use this code on a PIC18F6722.
I've got a problem to configure my interrupt (RTCC), the code on the interruption is not launche ... |
Topic: #IFDEF with 2 conditions |
global
Replies: 2
Views: 5116
|
Forum: General CCS C Discussion Posted: Thu Jul 19, 2007 4:11 am Subject: #IFDEF with 2 conditions |
Many thanks  |
Topic: #IFDEF with 2 conditions |
global
Replies: 2
Views: 5116
|
Forum: General CCS C Discussion Posted: Thu Jul 19, 2007 3:54 am Subject: #IFDEF with 2 conditions |
Hello, i'm using CCS 3.249 i'm looking for o solution to use an IFDEF with two condition.
for example how can i replace this :
...
#ifdef headset
int1 cpt;
#endif
#ifdef box
int1 cpt;
#e ... |
Topic: bootloader for PIC18f6722 |
global
Replies: 4
Views: 6073
|
Forum: General CCS C Discussion Posted: Tue Apr 17, 2007 8:05 am Subject: bootloader for PIC18f6722 |
thanks for your answerd, may version of CCS is an old one, 3.249, i found on the website of microchip a software
- P1618QP.exe but an error say that there is no firmware available for my PIC18f6722 ... |
Topic: bootloader for PIC18f6722 |
global
Replies: 4
Views: 6073
|
Forum: General CCS C Discussion Posted: Tue Apr 17, 2007 3:47 am Subject: bootloader for PIC18f6722 |
Hello ckielstra
The tiny bootloader isn't compatible with PIC18F6722 |
Topic: bootloader for PIC18f6722 |
global
Replies: 4
Views: 6073
|
Forum: General CCS C Discussion Posted: Tue Apr 17, 2007 3:25 am Subject: bootloader for PIC18f6722 |
Hello,
I'm looking for a bootloader for PIC18f6722.
I already use PIC18f4520 bootloaded using a MPlab and the source code supply with the software Tiny Bootloader. |
Topic: Setup comparator on PIC16F636 |
global
Replies: 5
Views: 7941
|
Forum: General CCS C Discussion Posted: Wed Dec 06, 2006 5:23 am Subject: Setup comparator on PIC16F636 |
ok, so to have the following configuration :
first comparator:
- Analog input connected to RA1
- reference define by software
- Software output
second comparator:
- Analog input connected to R ... |
Topic: Setup comparator on PIC16F636 |
global
Replies: 5
Views: 7941
|
Forum: General CCS C Discussion Posted: Wed Dec 06, 2006 3:09 am Subject: Setup comparator on PIC16F636 |
Hello,
I'm trying to use the two comparator of the PIC16F636, to detecte voltage over 400mV
i use the next function to initiate de PIC comparator reference :
setup_vref (VREF_LOW | 2);
but i d ... |
Topic: Programm size on PIC 18LF458 |
global
Replies: 2
Views: 5264
|
Forum: General CCS C Discussion Posted: Fri Apr 07, 2006 2:55 am Subject: Programm size on PIC 18LF458 |
Where can i hve this information please ?
Many thanks.
Best regards. |
Topic: Programm size on PIC 18LF458 |
global
Replies: 2
Views: 5264
|
Forum: General CCS C Discussion Posted: Fri Apr 07, 2006 1:53 am Subject: Programm size on PIC 18LF458 |
Hello,
i use a PIC18LF458 and i have a question :
I use a programm that works and when i switch the battery off, and then on, the PIC is working well.
When i use another update version of thi ... |
Topic: Address with the DS2438 battery monitor |
global
Replies: 3
Views: 9126
|
Forum: General CCS C Discussion Posted: Fri Mar 31, 2006 1:38 am Subject: Address with the DS2438 battery monitor |
Its now working, this is the code that we need to use, first read all the register, and to recover the data, we need to read the scratchpad:
if(!Reset())
{
WriteByte(0xCC); //skip ... |
Topic: Address with the DS2438 battery monitor |
global
Replies: 3
Views: 9126
|
Forum: General CCS C Discussion Posted: Wed Mar 29, 2006 1:46 am Subject: Address with the DS2438 battery monitor |
it doesn't working, i already use this code for the DS2770, i think i can use the same code, i just need to modify the adress. I don't know why it's not working. |
Topic: Address with the DS2438 battery monitor |
global
Replies: 3
Views: 9126
|
Forum: General CCS C Discussion Posted: Mon Mar 27, 2006 6:39 am Subject: Address with the DS2438 battery monitor |
Hello,
I'm using the DS2438 for monitoring a 10V NiMh battery, i need to read the voltage register and the current register.
So in the datasheet, the current register is in the page 0 byte 3 and 4. ... |
|