Skip to content

Conversation

glowcone
Copy link

Also separated JS code into new file

@lionello
Copy link
Member

Good stuff!

Having the JS inside the HTML was intentional, as the NodeMCU cannot handle multiple requests at the same time. I have since built 'pipelining' into nodemcu-httpd, but that version has not been uploaded to the lights yet. Personally I would keep everything in one file for performance: the thing is sloooow.

@glowcone
Copy link
Author

glowcone commented Apr 4, 2017

@lionello Oh I see. Also, I found that my uploaded version of rgb.lua was an older one (and does not work), so I had replaced it through my last commit.

ppaeps pushed a commit that referenced this pull request Jul 27, 2024
Optimize memory; call connection:close() in send() callback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants