...so my expression d[18] === d.charCodeAt(18) evaluates to false... with d being a string of 19 or more characters... and in other words: no fixing of the RFID Reader code, a type converted numeric character is not the same as the ascii code of that character ('0' is 48, '1' is 49,...), and I needed the ascii code... --- now I feel double... and not only a bit...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
...so my expression
d[18] === d.charCodeAt(18)
evaluates to false... with d being a string of 19 or more characters... and in other words: no fixing of the RFID Reader code, a type converted numeric character is not the same as the ascii code of that character ('0' is 48, '1' is 49,...), and I needed the ascii code... --- now I feel double... and not only a bit...