tmr.alarm not working on ESP12E 0.9.5 firmware

Tested that this sample was not working on dev board: if not tmr.alarm(0, 5000, tmr.ALARM_SINGLE, function() print(“hey there”) end) then print(“whoopsie”) end Checked firmware version (connected to ESPlorer and pressed reset):ESP12E default NodeMCU 0.9.5 build 20150318  powered by Lua 5.1.4 Decided to update firmware. Found here that only 9.6 is available precompiled, later ones have to […]

How to use Arduino IDE to program NodeMCU

1. Install the Arduino IDE from download section of website  2. Run Arduino IDE’s arduino.exe 3. Arduino IDE >> File >> Preferences (Shourtcut is CTRL + COMMA)>> Settings tab >> on Additional Board Manager URL side type this >> and click ok. This json object will bring necessary drivers for NodeMCU from the website […]