Make write() public so it can be used

Arduino core deprecated use of print(variable,BYTE) to bring raw byte
values, replaced with write() method.