EV3_Dexter_Industries_Sensors icon indicating copy to clipboard operation
EV3_Dexter_Industries_Sensors copied to clipboard

bit operation 0x255

Open RokerHRO opened this issue 9 years ago • 0 comments

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.

RokerHRO avatar Jul 13 '16 15:07 RokerHRO