SPI device needs LSBit First

Author Message
Regular Member

Joined: 08/06/2022
Location: Austria
Posts: 47
Posted: 09:10pm 01 Feb 2023      

Had a similar problem, Peter Mather came up with an, for me, ingenious solution for swapping bits within a byte real fast. Look at the URL belowfor details

Bit swap in byte

hope this helps a bit,