Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By faxMan
#53318 Hi, I wish to use the portable sleep method below to test some sensors. How do i install and where do i get this 'socket' library file from? I'm running LUA5.1.4, LuaLoader and ESP2866. Sorry for the total newbie question but i did google for a while and just got frustrated so i thought i would ask you folks. This is my first ESP2866 project.

THANK YOU!!!

require "socket"
function sleep(sec)
socket.select(nil, nil, sec)
end
sleep(0.2)