The code incluides:
Code: Select all
Data_In = DIN & 0xFF
Data_In2 = DIN >> 8
I know that >> means to shift right but don't have the fundamental idea of what it means. If you had a 32-bit value, how would the code look then?
Just trying to get a very basic understanding of how it works. Obviously, I'm extremely new.