So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By eagle1
#84239 Hello,

I have the LoLin dev board and I connected it to lualoader 0.87, I've done couple things; like, sending direct commands, setting the gpio.mode, writing to gpio.write and reading the gpio.read status.

But I don't know how to write a code in lua, how to upload it and compile it.

I choosed file.list and removed everything on the chip.

And this is the principle of how this thing work, that I don't understand and didn't get it yet.

Can this board work on one single file? Does it require some init code so it can run any other files?

I uploaded this code but it gives me this.

Code: Select allSaturday, October 19, 2019  14:51:36

Binary upload: F:\programming_programs\Programming\programming_dev\nodeMCU & ESP\scripts\led_blink1.lua
stdin:1: attempt to call global 'LLbin' (a nil value)
> > dofile("LLbin.lua")
cannot open LLbin.lua
> uart.setup(0,9600,8,0,1,0)
> > >