-->
Page 5 of 9

Re: Discussions on my nodeMCU Lua unofficial FAQ

PostPosted: Thu Aug 20, 2015 1:00 pm
by TerryE
Yup, this needs explaining since the way it works isn't quite as standard Lua. The build in C libraries like file and ow don't need any explicit loading; they are just magically resolved, and show up in _G once they'e first been referenced. The Lua modules need to be copied to SPIFFS and loaded with a require.

I'll do this in the next day or so. I've got a lot on my plate at the moment! :(

Re: Discussions on my nodeMCU Lua unofficial FAQ

PostPosted: Mon Feb 15, 2016 5:17 am
by pbecchi
Terry
I appreciate very much the work you have done!
I have a NodeMCU 1.0 v.2 board that I use with Arduino core libraries.
My question is related to GPIO availability :
-i have looked to serveral documents but I dont have a clear understanding on wich GPIO pin are really available and wich is used for other functions.
- I made some test and I derived a table(attachement)
-It ill be nice if you include something similar in you FAQ.

Re: Discussions on my nodeMCU Lua unofficial FAQ

PostPosted: Mon Feb 15, 2016 11:16 am
by TerryE
Hi, and thanks. We are planning to split the FAQ into 3 parts:
  • The nodemcu firmware FAQ for Lua developers on theESP8266
  • The nodemcu firmware FAQ for those develops that wish to add their own custom C modules
  • The NodeMCU Inc Devkits.
This sort of information needs to go into third category. In fact the firmware can be used on any ESP8266 module and not just the Devkits. I usually use the ESP-01 1Mbyte parts and use I2C to extend the I/O capabilities. (I2C runs fine on the ESP-01 over GPIO 0 and 2.)

Re: Discussions on my nodeMCU Lua unofficial FAQ

PostPosted: Tue Feb 16, 2016 8:46 am
by pbecchi
Thanks for the advise....
I have already used IIC bus for several peripheral like RTC , LCD and IO port expansion.
There is anyhow application where a certain number of IO pin are required!
I consider to be one of the more critical ESP8266 features the small number of GPIO available to the user.

In additions most of the one available are already in use for other purposes or cannot be used because are utilised internally.

I could not find any clear documents explaining in detail what is available for the different devkit (it should not be so different from the relevant esp chips).

Since I am trying to migrate application already running on Arduino Mega and Uno I am facing this IO shortage problem every day!