This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

reading 8 bit data through single bit variable

someone has worked on this, kindly let me know, how do we pass a 32 bit word to a variable declared as 'sbit',

i tried this way, AND with 0x80 (1000 0000) and get 1 bit at a time, this seems to work for sending
but when it comes to reading, we do not know wat data is being obtained,
how to read a 32 bit data (or 8 bit) through a single bit,

thanks & regards

Parents Reply Children
No data