05-01-2012, 10:37 PM
so one byte is 8 bits or 8 'switches'?
so how would you say read or write a 'switch' in a byte? say I wanted to read switch 4 and read switch 5
if i have a byte array that is the size of the screen that is 32,24 which is 768 bytes
if I set up an array of bools it would only be 96 bytes
so how would you say read or write a 'switch' in a byte? say I wanted to read switch 4 and read switch 5
if i have a byte array that is the size of the screen that is 32,24 which is 768 bytes
if I set up an array of bools it would only be 96 bytes