Author |
Message |
Topic: about variable in the ccs |
hoangtuanthien
Replies: 3
Views: 5467
|
Forum: General CCS C Discussion Posted: Sun Jun 23, 2013 10:29 pm Subject: about variable in the ccs |
thanks all. i solved it |
Topic: Program just run in the interrupt program. |
hoangtuanthien
Replies: 9
Views: 12056
|
Forum: General CCS C Discussion Posted: Sun Jun 23, 2013 10:49 am Subject: Program just run in the interrupt program. |
actually, in my program the first command is #include <timer.h> and in file timer.h set the processor speed (clock). it's here
#include <18F4550.h>
#FUSES NOWDT // ... |
Topic: about variable in the ccs |
hoangtuanthien
Replies: 3
Views: 5467
|
Forum: General CCS C Discussion Posted: Sun Jun 23, 2013 10:09 am Subject: about variable in the ccs |
hello,
I'm writing code in ccs, and i have problem that i don't know how to define the real number. Please help me. |
Topic: Program just run in the interrupt program. |
hoangtuanthien
Replies: 9
Views: 12056
|
Forum: General CCS C Discussion Posted: Sun Jun 23, 2013 8:51 am Subject: Program just run in the interrupt program. |
please help me know the reason why my program just run in the interrupt program, it can not perform the commands in the while(true) of the main program.
code:
#include <18f4550.h>
#include ... |
Topic: Problem with timer interrupts |
hoangtuanthien
Replies: 2
Views: 5746
|
Forum: General CCS C Discussion Posted: Fri Jun 21, 2013 6:25 pm Subject: Problem with timer interrupts |
thanks, John. it operated |
Topic: Problem with timer interrupts |
hoangtuanthien
Replies: 2
Views: 5746
|
Forum: General CCS C Discussion Posted: Fri Jun 21, 2013 10:28 am Subject: Problem with timer interrupts |
i'm using the PIC 18F4550.
- #include <18F4550.h>
#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 //Watch Dog Timer uses 1:128 Postscale
#FUSES PLL ... |
|