I am using Lua code for my small project work using Explorer to interact with the esp8266 module.
I have encountered a problem that the " dofile " and "require " module are not opening scripts which are in another location.
- I used to this code :
dofile("ds18b20.lua")
output:
dofile("ds18b20.lua")
cannot open ds18b20.lua
- I also used:
require("ds18b20")
output:
require("ds18b20") stdin:1: module 'ds18b20' not found:
no field package.preload['ds18b20']
no file 'ds18b20.lc'
no file 'ds18b20.lua'
Could any one give me solution for this issues?
Thank you
javaandc? They have nothing to do with your question. - Joe C