will try your example later on.
Talking about the other idea. How can i write/read a byte into flash?
I have searched a little bit, and seen in the flash_utils.h there is some SPIRead, SPIWrite....
Is this the right way?
Edit:
Looks like spi_flash_read and spi_flash_write are my friends.
Just struggling with them (partial success)
ESP8266 Arduino add-on
Arduino IDE 1.6.5