NodeMCUSimulator icon indicating copy to clipboard operation
NodeMCUSimulator copied to clipboard

How do I use it?

Open MacDada opened this issue 8 years ago • 3 comments

Hi, any explanation how to use this project? I'm tired of manual testing with hardware, would be nice to write some automatic tests or at least run nodemcu apps without the hardware.

MacDada avatar Nov 21 '16 21:11 MacDada

1.Click on Code -> Download ZIP 2.Extract in your desktop 3.Go inside NodeMCUSimulator-master 4.Open cmd and navigate to NodeMCUSimulator-master 5.Make sure u have java installed in your system by java -version 6.type the following and enter gradlew build 7.edit the build.gradle with Notepad and add below lines at the top apply plugin: 'application' mainClassName = 'com.crygier.nodemcu.Main' 8.Open cmd again and type the following then enter gradlew run

ikhalelulah avatar Aug 10 '20 02:08 ikhalelulah

I have already run it but can not use ! when running 'gradlew run' command it stucks on 75% and a screen with picture of nodeMCU is showing up. nothing is working then...

image image

video-online avatar Oct 12 '20 22:10 video-online

If you reached here means Build & run is 100% successful and NodeMCU Simulator also launched successfully as per your screenshot. You may not notify that the D0 pin status toggles between High and low. Now you can go ahead and play with init.lua to modify and write your own test cases there. I dont think this Simulator has any LED indication to notify that its connected or doing something like real device. You should start playing and Get your hands dirty with init.lua and cmd console.

ikhalelulah avatar Oct 14 '20 09:10 ikhalelulah