bit order inverting


Results 1 to 5 of 5

Threaded View

  1. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Wink

    Dwayne...you're not only hearing impaired, your blind too ROFL... just kidding
    TempVar = 11011010, I want to flip it to this FinalVar= 01011011
    Bit7 will be Bit0 and so on
    Quote Originally Posted by Dwayne
    Edit: (I notice Steve and I were looking at the exact same forum thread in which we were playing with reversing strings....) Steve you is fast!
    Sometime i just sit in the Who's online and look what's happening... no secret

    BUT Yeah you're right REV will do the job. I never used it before 'cause i never had to swap bits. YEAH STEVE RTFM!!!

    I post this picture for me...
    Attached Images Attached Images  
    Last edited by mister_e; - 27th July 2005 at 17:11.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. decoding quadrature encoders
    By ice in forum mel PIC BASIC Pro
    Replies: 93
    Last Post: - 28th February 2017, 09:02
  2. Bits, Bytes Words and Arrays
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 24
    Last Post: - 14th June 2016, 07:55
  3. Doubt with interrupt on change
    By lugo.p in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 5th March 2010, 15:22
  4. PICBasic newbie problem
    By ELCouz in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 12th February 2008, 00:55
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 01:07

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