C51: DECLARING EXTERNAL SBITS
Information in this article applies to:
I have declared an sbit called foo in a source file called bar.c. In another source file, I have tried to declare the sbit as extern:
extern sbit foo;
However, when compiling I get a syntax error. What am I doing wrong?
When declaring an sbit as extern, you must use the 'bit' type. For example:
extern bit foo;
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Monday, October 16, 2006
of your data.