<
struct{
bit open; bit close;
}door[2];
sbit door[0].open = P1^0; sbit door[0].close = P1^1; sbit door[1].open = P1^2; sbit door[1].close = P1^3;
>
Here when I compile/build this code at sbit lines C141 error is thrown. Any one verify this sbit Initialization and suggest me the various ways to use sbit.
View all questions in Keil forum