Microcontroller › 8051 › Usage of sbit with structure members › Yes, it is invalid
June 27, 2013 at 5:08 am
#10045
Participant
Yes, it is invalid usage.
sbit door[0].open = P1^0;
In the above line you can use struct node instead of sbit, like
struct node door[0].open = P1^0;