PDA

View Full Version : Bits in Byte Arrays



crhomberg
- 24th April 2007, 22:31
Hi Guys,

Is it possible to access directly a specific bit in a specific byte of a byte array?
eg. byte3 is 8 bits and I need to know if bit 2 of byte 3 is 1 or 0, is it possible
to do something like array[3.2] ?

regards

Chris

mister_e
- 24th April 2007, 22:37
Read the following
http://www.picbasic.co.uk/forum/showthread.php?t=544