Array


Closed Thread
Results 1 to 2 of 2

Thread: Array

  1. #1
    p5taylor's Avatar
    p5taylor Guest

    Post Array

    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

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

Similar Threads

  1. Bits, Bytes Words and Arrays
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 24
    Last Post: - 14th June 2016, 08:55
  2. Simple Array Demo
    By Archangel in forum Code Examples
    Replies: 5
    Last Post: - 15th February 2010, 05:46
  3. Array values changing
    By MyBuddy in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 30th October 2009, 00:13
  4. RS232 receive an array (packet)
    By ELCouz in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th February 2008, 06:02
  5. If Then Array Oddity
    By atillotson in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 1st July 2005, 18:46

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts