Compare commits
No commits in common. "13f37a2d4b343eae94a5ee5d5ecb08aa610cd656" and "d54b9c092ccc647d3b3a16602c441072145ebc35" have entirely different histories.
13f37a2d4b
...
d54b9c092c
|
|
@ -1,18 +0,0 @@
|
||||||
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.
|
|
||||||
Loading…
Reference in New Issue