bkamen
Joined: 07 Jan 2004 Posts: 1619 Location: Central Illinois, USA
|
|
Posted: Wed Jul 22, 2009 11:11 pm |
|
|
| asmo wrote: | hi Ttelmah!
I have this in the program,how can i define "word",the compiler said "undefined identifier word"?can you please tell me how to do that?
|
| Code: |
if (shift_right(&word,2,0)) output_high(D_bit);
else output_high(D_bit);
output_high(CK_bit);
output_low(CK_bit);
}
|
this line is your problem...
if (shift_right(&word,2,0)) output_high(D_bit);
You need to define "word" with something like unsigned int16 word;
-Ben _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D |
|