T2 LEDs return invalid state often
Closed this issue · 0 comments
johnnyman727 commented
It appears to happen upon first read:
➜ t2-demo t2 init
➜ t2-demo t2 run index.js
INFO Connecting to Tessel...
INFO Connected to Harold over LAN
INFO Writing index.js to RAM on Harold (3.072 kB)...
INFO Deployed.
INFO Running index.js...
I'm blinking! (Press CTRL + C to stop)
I'm blinking! (Press CTRL + C to stop)
I'm blinking! (Press CTRL + C to stop)
/usr/lib/node/tessel-export.js:765
throw new Error('Invalid state returned by LED:' + value);
^
Error: Invalid state returned by LED:255
at /usr/lib/node/tessel-export.js:765:15
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)
INFO Stopping script...