-
Sat 2021.04.24
Hi @AndreyVS
'Could not find any reference, neither error codes list'
It took a bit of time before familiarity on locating content became easy.
Take a look at the function definition at:
http://www.espruino.com/Reference#l__global_pinMode
and seek the Right Facing Arrow just to the right of the heading 'function pinMode' and click on it. That will take you to the source repository.
https://github.com/espruino/Espruino/blob/master/src/jswrap_io.c
But, as you will find, the error list for Pins is not in that file, so I had to perform a Google search using the 'site' qualifier:
Google: "shorted low"
site:
https://github.com/espruino/Espruino/blobwhich will take you to that exact error:
https://github.com/espruino/Espruino/blob/master/libs/puckjs/jswrap_puck.c#L1128
Hi All,
Sometimes I get a message on Puck v1 (firmware v2.08) after performing reset(): "Pin D2 forced low. Pin D2 shorted low. Error code 12". Pin D2 controls a neopixel led strip (WS2813, works fine), not grounded. Could not find any reference, neither error codes list. What does that message mean, please?