what happens if you omit the last line? digitalPulse(NodeMCU.D5, 1, 0);
esp8266 reboots if you block for too long, the last line blocks because it waits for previous one (digitalPulse with long array) to finish.
digitalPulse(NodeMCU.D5, 1, 0);
© Espruino, powered by microcosm.
Report a problem