back then I did not remember char was signed, switch to unsigned type, also we now need arduino.h as include