Hello Unregistered ,
Originally Posted by richard [COLOR="#00FF00"]bit_byte1 var byte mybit0 var Bit mybit1 var Bit I think uses 2 bytes . Not necessarily. Compiler makes best use of memory and packs the bits in bytes when possible. So if you declare the above bit variable, they are going to be in one byte. The ninth bit will be in new byte location. Ioannis
www.signalcom.gr
Forum Rules
Bookmarks