Search found 15 matches

by Thanyasit
Mon Feb 01, 2021 11:15 am
Forum: ESP-IDF
Topic: Error for component registration javascript files.
Replies: 7
Views: 5671

Re: Error for component registration javascript files.

Yes, as I said, your approach is not going to work. Put the file on a FatFS or SPIFFS or something instead and proceed like that. I use spiffsgen there is an error shown Leaving... Hard resetting via RTS pin... Done C:\Users\Mr.Emag\Desktop\esp-idf\examples\work\softAPWeb>idf.py monitor Checking Py...
by Thanyasit
Mon Feb 01, 2021 4:14 am
Forum: ESP-IDF
Topic: Error for component registration javascript files.
Replies: 7
Views: 5671

Re: Error for component registration javascript files.

Yes, as I said, your approach is not going to work. Put the file on a FatFS or SPIFFS or something instead and proceed like that. I use spiffsgen there is an error shown Leaving... Hard resetting via RTS pin... Done C:\Users\Mr.Emag\Desktop\esp-idf\examples\work\softAPWeb>idf.py monitor Checking Py...
by Thanyasit
Sun Jan 24, 2021 1:32 pm
Forum: ESP-IDF
Topic: Error for component registration javascript files.
Replies: 7
Views: 5671

Re: Error for component registration javascript files.

Your file is too big. Even disregarding other issues you may run into (wrt partitions, size of your flash memory etc) the memory aperture for flash data is only 4MiB and your file is larger than that. Suggest putting it on a fat or spiffs partition and serving it that way instead. I increased the f...
by Thanyasit
Thu Jan 21, 2021 5:37 am
Forum: ESP-IDF
Topic: Error for component registration javascript files.
Replies: 7
Views: 5671

Re: Error for component registration javascript files.

Your file is too big. Even disregarding other issues you may run into (wrt partitions, size of your flash memory etc) the memory aperture for flash data is only 4MiB and your file is larger than that. Suggest putting it on a fat or spiffs partition and serving it that way instead. Please advise the...
by Thanyasit
Wed Jan 20, 2021 2:05 pm
Forum: ESP-IDF
Topic: Error for component registration javascript files.
Replies: 7
Views: 5671

Error for component registration javascript files.

I am trying to component registration "Plotly JavaScript Open Source Graphing Library" file name = plotly_latest_min.js but it's not working There is an error shown A fatal error occurred: File simple.bin (length 4197680) at offset 65536 will not fit in 2097152 bytes of flash. Use --flash-size argum...
by Thanyasit
Mon Jan 18, 2021 2:31 pm
Forum: ESP-IDF
Topic: How to add library Plotly.js in esp-idf?
Replies: 0
Views: 1648

How to add library Plotly.js in esp-idf?

My code can't find the file. 'plotly-latest_min.js'
So it doesn't work in esp-idf.

But it works fine on windows.
What must i do?
Please guide me.
by Thanyasit
Sat Jan 09, 2021 5:18 am
Forum: ESP-IDF
Topic: How to use esp-idf get value range slider on web server?
Replies: 0
Views: 2077

How to use esp-idf get value range slider on web server?

Can anyone direct me to a working example of a simple to use esp-idf get value range slider on web server? Now I have a program for displaying web pages. But I don't know how to extract values from JavaScript come out. code create custom range sliders with CSS and JavaScript. https://www.w3schools.c...
by Thanyasit
Fri Dec 18, 2020 11:44 am
Forum: ESP-IDF
Topic: How to use strings in esp idf?
Replies: 6
Views: 32686

Re: How to use strings in esp idf?

Hello
this don´t work at all:
#include <stdio.h>
std::pwmSliderValue = "0";

I am unable to call these functions.
#include <string>
#include <iostream>
by Thanyasit
Wed Dec 16, 2020 3:51 am
Forum: ESP-IDF
Topic: How to use Esp-idf to run Html code
Replies: 7
Views: 16736

Re: How to use Esp-idf to run Html code

What do you expect to happen with this bit of HTML? I'm not sure what you mean, since I don't normally think of "running HTML". You can parse it and display something on a user interface (such as within a web browser). So if you're asking how to present a slider to a user from your ESP32 code, ther...
by Thanyasit
Sat Dec 12, 2020 10:50 am
Forum: ESP-IDF
Topic: How to use Esp-idf to run Html code
Replies: 7
Views: 16736

Re: How to use Esp-idf to run Html code

What do you expect to happen with this bit of HTML? I'm not sure what you mean, since I don't normally think of "running HTML". You can parse it and display something on a user interface (such as within a web browser). So if you're asking how to present a slider to a user from your ESP32 code, ther...