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
how do we pass a 32 bit word to a variable declared as 'sbit',
We don't, because it won't fit.
Actually the question you ask is not the question you need answered. That would be: "Where can I learn programming in C?" You need a textbook, and some time to study before you return to this project.
how about passing one bit after another with a 32-bit variable in the other device at the recieving end