I hate to ask a question that seems like it may be asked & answered, but I have really looked through a lot of posts. I just need some nudging, then I can take the next step(s)
I must have some wrong assumptions somewhere.
I am using a NodeMCU Amica, white bottom. I have used it testing other projects, in fact when I plugged it into the serial cable and started the monitor, it was sending status for the last thing I was testing. (Trying to see if I could read two HC-SR04)
First I tried to compile v .37 and got errors. Then I loaded the bin file. When I start the monitor with 115200, I get junk, like a wrong baud rate. I am new to Nextion so I started studying it some. So let me break up my issues into different sections.
First, start with Nextion. I have the editor running and the âHASwitchPlate.HMIâ loaded. When entering debug mode, I see HASP Initializing ⌠screen. If I select âUse MCU inputâ and baud rate set to 115200, then start. Then click on the screen I see â65 00 01 01 FF FF FFâ in the simulator return. The 01 changes to 00, so I am guessing 01 is touch and 00 is released. If I press restart this is what I get https://hastebin.com/ijusotoler
Now for the compile errors.
https://hastebin.com/abazobupuy.http
Thanks in advance
Update 3/9/2019 4:26pm
I downloaded 1.8.8 I was running 1.8.5 of the ide. I also changed from generic 8266 to NodeMCU 1.0. I was able to compile and upload. Starting the monitor I am getting some intelligent serial debug. So for sake of completeness, I went back to 1.8.5 and switch to board to NoneMCU 1.0 and it did compile with a warning.
Archiving built core (caching) in: C:\Users\PAULEN~1\AppData\Local\Temp\arduino_cache_158204\core\core_esp8266_esp8266_nodemcuv2_xtal_80,vt_flash,exception_disabled,eesz_4M,ip_lm2f,dbg_Disabled,lvl_None____,wipe_none,baud_115200_be11c49f5546a1f0f775641c360d90c7.a
Sketch uses 450360 bytes (43%) of program storage space. Maximum is 1044464 bytes.
Global variables use 40000 bytes (48%) of dynamic memory, leaving 41920 bytes for local variables. Maximum is 81920 bytes.
Now focusing back on the Nextion emulator.
Update 3/9/2019 4:42pm
As I was playing with the emulator, I remembered reading there has to be a proxy for the emulator to work. My assumption was that it would work through the USB. So I going to see if I can get the display fired up and connected. I hope I donât see any magic smoke.
Update 3/9/2019 6:00pm
Progress !!!
Got it up enough to get it on wifi. I think I down to basic setup now. I hope this helps someone else.