Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bit operation 0x255 #14

Open
RokerHRO opened this issue Jul 13, 2016 · 0 comments
Open

bit operation 0x255 #14

RokerHRO opened this issue Jul 13, 2016 · 0 comments

Comments

@RokerHRO
Copy link

in file EV3_Dexter_Industries_Sensors/EV3_arduino/EV3UARTEmulation/EV3UARTEmulation.cpp

bb[2*i] = s[i] & 0x255;

I am sure you either want "& 255" or "& 0xFF" :-)

Lars R.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant