gwizz wrote:<edit> there is an improved version of script below</edit>
...
2015 is gonna be a great year for IoT gadgets!!!
G
Thank you for posting this script! Although I have a job as a software developer (mainly C#/ASP.NET), Lua is new to me. And even more so, I've had little to no experience working with a board like the NodeMCU, before ESP8266.
Thanks to this little scanner program I know that the ESP discovered my BMP180 pressure/temperature sensor
Next step will be to actually do something useful with the sensor values
I started out with C/C++ programs in Arduino IDE and the AdaFruit Unified Sensor Library (which includes BMP180 support).
But I wasn't getting any readings. So I guess I'll stick with NodeMCU Lua firmware for a while. Using
LuaLoader it's easy to upload scripts, compared to constantly re-flashing the entire ESP using ArduinoIDE (esptool.py).