Closed edwin-n-johnson closed 7 years ago
The code is missing to display incoming data bytes from arduino in character mode. I'd like to get the following change made.
src/ui/parts/ScriptsParts.as public function onSerialDataReceived(bytes:ByteArray):void{ if(isByteDisplayMode) { appendMsgWithTimestamp(HexUtil.bytesToString(bytes), false); } else { bytes.position = 0; var str:String = bytes.readUTFBytes(bytes.length); appendMsgWithTimestamp(str, false); } }
The code is missing to display incoming data bytes from arduino in character mode. I'd like to get the following change made.
src/ui/parts/ScriptsParts.as public function onSerialDataReceived(bytes:ByteArray):void{ if(isByteDisplayMode) { appendMsgWithTimestamp(HexUtil.bytesToString(bytes), false); } else { bytes.position = 0; var str:String = bytes.readUTFBytes(bytes.length); appendMsgWithTimestamp(str, false); } }