+ Reply to Thread
Results 1 to 2 of 2

Thread: Bits in Byte Arrays

  1. #1
    Join Date
    Apr 2007
    Location
    Santiago, Chile
    Posts
    71

    Question Bits in Byte Arrays

    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

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,108

    Default

    Steve

    Please use code tag when you post a code here.
    [code] paste your code here [/code]

+ Reply to Thread

Similar Threads

  1. Bits, Bytes Words and Arrays
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 12
    Last Post: - 2nd February 2010, 00:03
  2. byte compression
    By Norbert in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 16th June 2007, 18:04
  3. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  4. 16F877 RAM Question
    By Art in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 6th August 2005, 11:47
  5. error on compiling
    By parker in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 16th June 2005, 14:31

Posting Permissions

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