Read array in sequence, and convert it's contents into single variable?


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: Read array in sequence, and convert it's contents into single variable?

    Sorry, I'm confused on this. You want to take each nibble and convert it to a decimal value, or???

  2. #2
    Join Date
    Feb 2013
    Posts
    1,156


    Did you find this post helpful? Yes | No

    Default Re: Read array in sequence, and convert it's contents into single variable?

    No, imagine array consists of "1" "0" "1" "1" digits, I want to "merge" them into one binary variable, which I will convert to decimal later.

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,692


    Did you find this post helpful? Yes | No

    Default Re: Read array in sequence, and convert it's contents into single variable?

    so where is the problem ?
    what have you tried ?
    Warning I'm not a teacher

Similar Threads

  1. Lookup with variable contents??
    By elcrcp in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 17th June 2015, 10:21
  2. Read/write a single bit (MCP23018)
    By vladimir059@hot in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 28th June 2011, 05:11
  3. Saving variable(s) contents before power is removed
    By emavil in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 15th July 2007, 18:26
  4. How do I convert an internal variable into frequency
    By schlaray in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 13th February 2007, 08:26
  5. Convert a word variable to decimal
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 4th December 2004, 21:02

Members who have read this thread : 0

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