Microcontroller › 8051 › sbit???? › sbit is a type of datatype
October 29, 2011 at 3:42 am
#6756
nikhiljain
Participant
sbit is a type of datatype similar to char, integer etc. It is used when we want to use a single bit. In the statement you have given above, it means you have created a bit type variable with name “rd” and whose value will be equal to 5th pin as referenced by the variable port. If port =P0 it means 5th pin of P0.