Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By erhardd
#31921 The program-button works now(2 button). First the "paint" and sec." moving gears"
Image

But the hint:
"Wenig Speicher verfügbar, es können Stabilitätsprobleme auftreten .."

- here is the sketch:
You do not have the required permissions to view the files attached to this post.
User avatar
By danbicks
#31932 Do you have a pic of the ESP board you are using.

Looks really good so far. So to get this correct, only 2 pins are needed to implement the touch panel operation, cs and irq.

I will order some of these displays with the touch option if this is the case.

Have you managed to free up 2 pins for I2c? what is the issue with this library conflicts?

Cheers

Dans
User avatar
By erhardd
#31939 I've put the ESP07 on an Arduino Proto-shield:
http://www.ebay.de/itm/221817025202?clk ... rmvSB=true
Image
- and added -Spannungsregler ST LD1117DT;
- (Unterseite) 5v-Buchse und PL2303(Waveshare FTDI_Adapter);
-reset-Button und flash-Button(S1);
Than a selfmade PCB with -mcp23s17 16-bit SPI

Image
if you want to build one:
https://www.mikrocontroller.net/attachm ... p23x17.brd
Also a stmpe811-board(to see under the mcp23x17 in the 1. pic), but that is not in the sketch. This should deliver me the cs-lines ..
.. and there are the timing problems i have to solve;
-the touch panel operation SPI is also doubled with the TFT-SPI, so only Touch cs and irq are needed.
This works great ...
- - but I have to mention, that if the second button is programmed the SD-Webserver stops!
all the great stuff with the "edit" upload files to the SD-card and show them in the browser fails
That's what it mean: --not enough memory :(

edit:
found that-
http://fr.aliexpress.com/item/WeMos-D1- ... Title=true
User avatar
By erhardd
#32054 Here a pic, that i've upload from my "Eigene Bilder"-files to the SD-card with " 'esp-homenet-addr.'/edit" in the browser;
Then i've opened it with button#3;
The LED you can see flickers in ~30sek. and it is connected with PortB6 on the mcp23s17;

Image

A big question:
How can I free "Globale Variablen dyn. Speicher" where the arrays i used reside?