Author |
Message |
Topic: Using a simple CAN BUS protocol example. |
sonyoungdong
Replies: 3
Views: 26371
|
Forum: General CCS C Discussion Posted: Tue Nov 19, 2013 5:54 am Subject: About set4580 |
set4580.h
#include <18F4580.h>
#device adc=8
#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 //Watch Dog Timer uses 1:128 Postscale
#FUSES H4 //High speed osc with HW enabled 4X PLL
... |
Topic: Using a simple CAN BUS protocol example. |
sonyoungdong
Replies: 3
Views: 26371
|
Forum: General CCS C Discussion Posted: Fri Nov 15, 2013 6:28 am Subject: Using a simple CAN BUS protocol example. |
Hi, I'm making a simple example code based on the example file of CCS, "EX_CAN.c". I am using PICF4580. My code is as below.
#include "set4580.h"
#include "can-18F4580.h&q ... |
Topic: In using multiple external interrupts. |
sonyoungdong
Replies: 5
Views: 8912
|
Forum: General CCS C Discussion Posted: Tue Oct 08, 2013 3:55 am Subject: In using multiple external interrupts. |
To Ttelmah and Mike
Thanks to your reply.
Still, I wonder something. I set each switch's edge with
bit_set(intcon2,6); //same with > ext_int_edge(0,L_TO_H)
bit_clear ... |
Topic: In using multiple external interrupts. |
sonyoungdong
Replies: 5
Views: 8912
|
Forum: General CCS C Discussion Posted: Sun Oct 06, 2013 9:21 pm Subject: In using multiple external interrupts. |
Hi, I am studying about external interrupts with PIC18F4580. When I used only one external interrupt, it worked anyway. And also worked for multiple external interrupts. What is problem is that my dev ... |
|