PDA

View Full Version : Array



p5taylor
- 20th February 2006, 17:56
Hi all im trying to get a 16 bit word (freq1) into an array (Bits) so i can read of individiual bits the code is below im using a 16f870, i having problems any help on this

thanks
Freq1 VAR WORD
Bits VAR Bit[16]
a VAR BYTE

FOR a = 0 TO 15
Bits[a]=Freq1.bit[a]
NEXT a

Melanie
- 20th February 2006, 21:08
It's all in here...

http://www.picbasic.co.uk/forum/showthread.php?t=544