Hello,
I want to compare values of bytes array to e.g. 0xF.
if (bytes[2] === 0xF)
{
values[0] = retValue.x1 - 65536;
}
However I get this error: Error(“json: unsupported value: NaN”)
I couldn’t find an existing topic to this problem with comparing values.
What is the problem?
Thanks
Martin