These are chat archives for esp8266/Arduino

23rd
Nov 2017
Matej Sychra
@suculent
Nov 23 2017 06:32
You can use the esptool to not just write but also read flash to your computer. You could also upload a sketch that will list and output files to serial, but that would be a bit more tricky as you don’t want to overwrite spiffs on upload (which Arduino IDE does by default).
phunandcode
@phunandcode
Nov 23 2017 15:32
Hey all, I hope I found the right room after being at esp32! I'm a total beginner with IoT and boards like Arduino. I have a Wemos d1 mini retired with a bunch of extras and I have played around with basic functions like lighting up leds on my expansion board etc. I have a small project in my mind but it's hard to find good documentation. Should I install the ESP8266 core for Arduino? Would it make development easier? Am I correct that I can then use arduino code with the board?
Me No Dev
@me-no-dev
Nov 23 2017 15:33
yes you can
you are correct :)
phunandcode
@phunandcode
Nov 23 2017 15:34
Ok thanks :)! Any good beginner tips for me?
Something that you would have liked to know when you started?
Me No Dev
@me-no-dev
Nov 23 2017 15:35
uhmmm :D I am actually a wrong person to ask this :D
go through the documentation in github and check the examples
phunandcode
@phunandcode
Nov 23 2017 15:36
Since you're not a dev right? ;)
Me No Dev
@me-no-dev
Nov 23 2017 15:37
exactly :D
brutzler
@brutzler
Nov 23 2017 18:24

@suculent

...to overwrite spiffs on upload (which Arduino IDE does by default)

You are sure about this? I made opposite experience.
Matej Sychra
@suculent
Nov 23 2017 18:38
Might depend on default setting for respective board.
In Arduino IDE there is a plugin to write specific folder to SPIFFS as well as in PlatformIO. It’s just a matter of taking control over it.
Matej Sychra
@suculent
Nov 23 2017 18:43
But original request was to read someone elses spiffs, which is entirely possible, unless you overwrite it with own sketch and the rest. Easiest will be the esptool way.IMHO.
phunandcode
@phunandcode
Nov 23 2017 19:02
Anyone here that could help me out with my problem: I want to have a predefined led combination on the tm1638 and check if the user has input the same
I have the user input functionality ready, as in user presses a button to turn a certain led on/off
But I dont know how to store a certain led combination as a variable to check against in a loop
brutzler
@brutzler
Nov 23 2017 19:16

@suculent

But original request was to read someone elses spiffs....

Oh, that was not my intention. I thought about reading the SPIFFS of an ESP from the computer that is connectet via serial interface.
The plugin of the arduino IDE might be the solution. Will check this later on...