Have you tried removing the embedded comment in Line 2 of the test code?
and if lines 4 and 6 are commented out, does the same error occur? (attempting to see if the library even gets loaded without error)
I remember having a similar issue nearly two years ago, and vaguely remember the /*CS*/ may have been the culprit, but can't find my notes. I'll keep looking. . . .
EDIT:
Not in my notes but was part of a post I made. Similar error, not sure if this will solve your issue, just passing info along. Contains battery supply considerations, mfg error code reference links, along with other code snippets.
Also, do you have the green KeyStudio variant, or the typical blue circuit card? After two weeks back then, I eventually had to abandon as I had read on other sites, that the KeyStudio board was problematic.
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.
Sun 2019.02.17
Hi @Michael
Have you tried removing the embedded comment in Line 2 of the test code?
and if lines 4 and 6 are commented out, does the same error occur? (attempting to see if the library even gets loaded without error)
I remember having a similar issue nearly two years ago, and vaguely remember the
/*CS*/
may have been the culprit, but can't find my notes. I'll keep looking. . . .EDIT:
Not in my notes but was part of a post I made. Similar error, not sure if this will solve your issue, just passing info along. Contains battery supply considerations, mfg error code reference links, along with other code snippets.
Also, do you have the green KeyStudio variant, or the typical blue circuit card? After two weeks back then, I eventually had to abandon as I had read on other sites, that the KeyStudio board was problematic.