Author |
Message |
Topic: interrupts work good only on debugger |
js.l
Replies: 7
Views: 11588
|
Forum: General CCS C Discussion Posted: Thu Aug 26, 2010 10:38 am Subject: interrupts work good only on debugger |
problem solved!
it seems like my data aquisition time was a bit too short and by multiplying the pulse count by 6 I multiplyed my error by 6.
I change my timer1 interrupt and added a timer overfl ... |
Topic: interrupts work good only on debugger |
js.l
Replies: 7
Views: 11588
|
Forum: General CCS C Discussion Posted: Thu Aug 26, 2010 9:05 am Subject: interrupts work good only on debugger |
Here are my configuration bits
OSC=HS
FCMEN=DISABLE
IESO=DISABLE
PUT=DISABLE
BODEN=ENABLE HARDWARE,SBOREN DISABLE
BODENV=2.0v
WDT=DISABLE CONTROLED BY SWDTEN
WDTPS=1:32768
PMODE=MICROCONTRO ... |
Topic: interrupts work good only on debugger |
js.l
Replies: 7
Views: 11588
|
Forum: General CCS C Discussion Posted: Thu Aug 26, 2010 8:24 am Subject: interrupts work good only on debugger |
I have not used the #fuses, other than the ones that might be set automatically in the configuration bits of MPlab. Could this be my problem? |
Topic: interrupts work good only on debugger |
js.l
Replies: 7
Views: 11588
|
Forum: General CCS C Discussion Posted: Wed Aug 25, 2010 10:08 pm Subject: interrupts work good only on debugger |
Here is all the code, if anyone has any idea about what could cause my problem feel free to share. Sorry it's in french, demarrer=start, poids= weight from a scale, v is for vitesse=speed.
#include ... |
Topic: interrupts work good only on debugger |
js.l
Replies: 7
Views: 11588
|
Forum: General CCS C Discussion Posted: Tue Aug 24, 2010 8:56 pm Subject: interrupts work good only on debugger |
I am experiencing a weird behavior from my PIC dem2 board. I am using a 18f8722.
My pic is hooked up to an encoder and it controls a PWM output for an electric motor.
My problem is with the calc ... |
Topic: stdio, problem with scanf and fflush |
js.l
Replies: 1
Views: 4313
|
Forum: General CCS C Discussion Posted: Wed Jun 23, 2010 4:04 pm Subject: stdio, problem with scanf and fflush |
Hi, I try to use scanf and fflush and I get an undefined identifier, I did include stdio.h but it doesn't seem to have very much functions in it.
I tried using another stdio.h with all the function ... |
Topic: PIC18 explorer board 2nd rs232 port |
js.l
Replies: 1
Views: 3609
|
Forum: General CCS C Discussion Posted: Wed Jun 02, 2010 8:19 pm Subject: PIC18 explorer board 2nd rs232 port |
Hi, I just bought a PIC18 explorer board with a 18f8722, I was wondering if there was a way to use the second rs232 port from the MAX232.
It seems like Microchip has wired the second rx-tx from the M ... |
|