It's good news! Thanks!
In SX.prototype.setTxConfig
SX.prototype.setTxConfig = function( options ) { options = this.commonSetConfig(options); .... this.w( REG.PREAMBLEMSB, ( preambleLen >> 8 ) & 0x00FF ); this.w( REG.PREAMBLELSB, preambleLen & 0xFF ); };
missing "options." before "preambleLen"
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.
It's good news! Thanks!