Arduino Forum
bit shifting
Using Arduino
Programming Questions
system
May 2, 2013, 5:12pm
2
byte A=B0110; byte B=B1011; byte AB=(A<<4)|B;
This should work
show post in topic
Related Topics
Topic
Replies
Views
Activity
Byte Processing, Combining and Shifting help.
Programming Questions
3
1042
May 5, 2021
Bit's and Byte's
Programming Questions
10
1638
May 5, 2021
Regrouping 2 byte as one int (or something else ) need to move bit inside
Programming Questions
5
670
May 5, 2021
Bitshift help.
Programming Questions
17
4991
May 5, 2021
Problems with bitshifting function
Programming Questions
9
1873
May 5, 2021