A place users can post their projects. If you have a small project and would like your own dedicated place to post and have others chat about it then this is your spot.

User avatar
By miker
#16650 Excellent and clear instructions but nothing on my little display yet. I'm using the small ESP-01 with only two I/O pins so in pong.lua do I specify sda = 0 and then scl = 2?

Thanks.
User avatar
By miker
#19437
kubi wrote:So, I now installed ESPlorer v0.2.0. The [Save&Compile All] button doesn't work at all.

I did the following step by step:
- [Format] button
- open every .lua file, which creates a separate tab for each file
- edit ntp.lua and set your SSID, password and timezone
- select every file (tab) and press button [Save to ESP] (ignore error messages like 'not enough memory')
- select every file except ntp.lua and press button [Save&Compile]
- check your saved files, in the Command tab press [List files], you should have a .lc file for each .lua file except for ntp.lua
- select the ntp.lua tab and press [Run], the pong clock should start after 2-3 seconds
- if everything works properly, rename ntp.lua to init.lua by entering file.rename("ntp.lua","init.lua") in the command field, press [Send]

I hope I didn't miss anything. Please let me know if it works for you.



A big Thank You for the detailed instructions! Very helpful for a newb like me.
Clicking the [Run] button gives an error:

Code: Select all----------------------------
oledfunc.lc     : 1172 bytes
oledfunc.lua    : 1347 bytes
pong.lua        : 4017 bytes
pongfont.lc     : 520 bytes
pongfont.lua    : 622 bytes
pongfunc.lc     : 1204 bytes
pongfunc.lua    : 1937 bytes
----------------------------
Total file(s)   : 7
Total size      : 10819 bytes

Total : 3441461 bytes
Used  : 13554 bytes
Remain: 3427907 bytes

> dofile('ntp.lua')
cannot open ntp.lua
User avatar
By kubi
#19454 Apparently you didn't save the file 'ntp.lua' to the ESP, at least id doesn't show up in the file list you submitted. Try uploading it and run it again.