Author |
Message |
Topic: QEi module |
nbt1987
Replies: 1
Views: 3644
|
Forum: General CCS C Discussion Posted: Wed Jun 23, 2010 11:40 am Subject: QEi module |
When use module QEi of PIC18f4431, disable all interrupt IC1,IC2,IC3.
But IC1Flag,IC2Flag,IC3Flag will set 1 automatically when an interrupt condition occur.
I think it don't use any instruction cy ... |
Topic: how to use int16 |
nbt1987
Replies: 8
Views: 9455
|
Forum: General CCS C Discussion Posted: Sat May 29, 2010 10:39 am Subject: how to use int16 |
Thanks for all!
When i change the address as follow:
int16 tong;
#word tong = 0x201
#byte tongH = 0x202
#byte tongL = 0x201
It's true. |
Topic: how to use int16 |
nbt1987
Replies: 8
Views: 9455
|
Forum: General CCS C Discussion Posted: Fri May 28, 2010 11:01 pm Subject: how to use int16 |
I use CCS, PIC8F4431. I declare int16 variable as follow:
int16 tong;
#byte tong = 0x058
#byte tongH = 0x058
#byte tongL = 0x059
I do that becase I think "the high byte of tong is in 0x ... |
|