I created a folder called data and uploaded the code on the page copied it and uploaded it on the tool bar:
sketch
upload
Why is there SPIFFS file code AND Mime code?
Then in the compressing file code there is more code,
and finally and instruction that says: And we need to change our handleFileRead function as well:
This isn't making sense to me. Kindly translate...!
I got this far:
To select the right files to upload, you have to place them in a folder called data, inside the sketch folder of your project: Open your sketch in the Arduino IDE, and hit CTRL+K. Wait for a file explorer window to open, and create a new folder named data.
After that
It just isn't quite clear to me why the code is written in separate sections.
Do I upload these different windows of code into individual sketches onto the SPIFFS?
Also, I don't know what this means 2/3 down the page:
And we need to change our handleFileRead function as well:
last thing:
How do I compress GNU zip format (.gz)?
I don't know exactly what I need to do to setup the ESP8266. What is absolutely necessary...
In short: I need to receive signals, over wifi, generated from the P2021 and the ESP8266 into my Mac. From there I wish to route those signals to trigger oscillators in a music creation program— either Super collider or Max Msp.
Please advise which steps to take, if you can assist.
I don't know exactly what I need to do to setup the ESP8266. What is absolutely necessary...
In short: I need to receive signals, over wifi, generated from the P2021 and the ESP8266 into my Mac. From there I wish to route those signals to trigger oscillators in a music creation program— either Super collider or Max Msp.
Please advise which steps to take, if you can assist.
Thanks!
then you do not need a webserver or spiffs. start a new topic in Project guidance
spycatcher2k:
I read it, it makes sense! Translate it to what?
to the level of understanding of the OP
"... HTML..." assume he does not know that
"..for our web pages as string literals ,.... " assume he does not know that
"If you remember the introduction, ...." assume he did not understand bits of the introduction
The tutorial is VERY informative and a huge service to the community. hard to give enough thanks.
however, the paper written is very confusing to those who do not understand the words. it might as well be in Latin.
Alas, there are enough pointers along the way for the un-initiated to cobble things together. again, what makes that so well done.
I have read that when reading data sheets, it is good to read them through a few times, then read them again.....
the reason is the basic failure of the education system on this planet. the teacher knows what they are saying because they have been down that path of 1,000 steps. but want to say, here are the 10 steps needed.....
and then just assumed the reader knows how to calculate saturation of the transistor....
I pointed out one time that "code tags' might as well be in latin for a newbie.
code... that program that you write....
tags... like comments....
so, code tags. add comments to the code.......
dave-in-nj:
I pointed out one time that "code tags' might as well be in latin for a newbie.
That's just because newbies tend to ignore the sticky where that is explained quite clearly, with examples.
Same for things like "html" and "string literals". OP is asking about sending things over WiFi to his computer. Then I think it's reasonable to assume OP knows about the basics of html and programming (which includes strings). If not, it's time for OP to look up on those things, as otherwise the project as a whole is dead in the water anyway.
petervstevens:
Can you point me in the right direction to set up the ESP to send signal over wifi?
Two ways.
set up a web server on the receiving end, have the ESP call a specific URL with POST or GET arguments to send the data.
use an MQTT server to transfer the signals. The blynk example sketch in the IDE shows you how that works.