-->
Page 1 of 2

JavaScript - What can this device handle?

PostPosted: Tue Jul 07, 2015 12:58 pm
by richardcj
I am using the ESP2866 for a IoT demo device. Right not thanks to Sprit_tm and olimex, I have code up and running. I am trying to add a color picker to the ESP and update a RGB LED. The code I have running works great but requires a external Javascript file to load properly. I tried embedding the shrinked file but it was too large. Where I will be demoing the project we will not have internet capabilities. Any Ideas? I s there a skinny version of the JS files I can use to implement sliders and such?

thanks,

Rick

Re: JavaScript - What can this device handle?

PostPosted: Wed Jul 08, 2015 3:15 pm
by nemik
What JS library are you using? If it won't fit in memory I'm afraid your only hope may be to strip some features you don't need from the JS library then try to fit it in; implementing only what you need.

Re: JavaScript - What can this device handle?

PostPosted: Wed Jul 08, 2015 6:51 pm
by richardcj
I found out using smaller JS fcn's to get the job done.

Thanks,

Rick

Re: JavaScript - What can this device handle?

PostPosted: Thu Jul 09, 2015 12:54 am
by richardcj
Just to document in case anyone wonders what I have used:
chartist
nouislider