No matter what device you use, with Espruino you always have a lot of fun.
Special thanks goes to Gordon.
Wow they are small
lets switch to gitter https://gitter.im/espruino/Espruino - ok?
Is something else using COM4 at the same time, like WebIDE ?
please first check this Readme_flash.txt
A0 is the analog input. Use a D pin like NodeMCU.D3, but do not expect to much, because pwm is poor on ESP8266 - check #914
Make sure you not blow it by draining to much current from a Pin, max is 12 mA.
you can find reset causes explained in this document
The most root cause is running out of heap.
Use this statement to get debug info on console like heap size
>325651> Sun Aug 13 07:54:45 2017, heap: 10416
you can try i2cdetect to scan the bus for devices.
Great, just ordered one @ Amazon DE
Ok, can you use a led and a resistor to check that you use the correct pin
by sending digitalWrite(<YourPinName>, 1); to switch the led on.
Or use a multimeter and check the voltage for that pin.
© Espruino, powered by microcosm.
Report a problem