Compare commits

...

2 Commits

Author SHA1 Message Date
Agent725 13f37a2d4b move flashing tools to subdirectory 2025-11-08 18:19:25 +01:00
Agent725 aca023e419 example on how to flash the LED using Espruino 2025-11-08 18:19:13 +01:00
8 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
One-liner to flash the LED. It is not on constant LED1 as expected, but instead on output pin D8!
1. Connect to Espruino, using screen.
screen /dev/ttyACM0
2. Press ENTER to flush serial buffer a bit, then enter one-liner.
let n=false; setInterval( () => { digitalWrite("D8",n); n=!n; } , 500);
3. Upon pressing ENTER on the Espruino console you should now see the LED flashing.
Exit screen using: CTRL-A q
Or kill the serial session using: CTRL-A k.