Code works on one device, but not another
Posted: Wed Nov 22, 2017 1:14 pm
I just got playing with the ESP8266 devices, and they're great - they basically seem to be everything the arduinos are plus Wifi and a more powerful processor.
I've been working with an Adafruit Feather Huzzah, and I have several code projects that are working perfectly on that. I also have a few 'generic' ESP8266 NodeMCU devices, apparently made by 'Makerfocus' that I got off Amazon. These Makerfocus devices program fine, they appear to take the code without issue, but after taking the programming, nothing happens - I don't get any serial output and the function (taking temperature readings and reporting them back to a web server) does not run.
Any thoughts why it works fine on the Feather, but on the other devices, nothing? Even if I had the sensors incorrectly connected, I should still see *something* on the serial output if it's running. Sicne they are both ESP-12 devices, shouldn't the code be exactly the same?
I've been working with an Adafruit Feather Huzzah, and I have several code projects that are working perfectly on that. I also have a few 'generic' ESP8266 NodeMCU devices, apparently made by 'Makerfocus' that I got off Amazon. These Makerfocus devices program fine, they appear to take the code without issue, but after taking the programming, nothing happens - I don't get any serial output and the function (taking temperature readings and reporting them back to a web server) does not run.
Any thoughts why it works fine on the Feather, but on the other devices, nothing? Even if I had the sensors incorrectly connected, I should still see *something* on the serial output if it's running. Sicne they are both ESP-12 devices, shouldn't the code be exactly the same?