Closed SimonGAndrews closed 2 years ago
Changing the references to the functions in the object MPR , in the module, from this.readword() to to MPR.readword fixes the issue in a local copy of the module. As in the following.
Thanks in advance for your help with this issue. Im happy to test after a change if it helps. R Simon
Seems like the module was changed to use the arrow function syntae, that doesn't work with this
. Since you are using the latest firmware version you can also/instead change it to
...
touched() {
return this.readWord(0);
}
...
Argh, sorry - not sure how that happened.
I've just sorted this out, and it'll go live next time I update the website, which should be this week
The above script is failing on an Espruino MDBT42Q with the error:
Looks like prop. an error introduced in the last last change of module MRP121, last May.