Search found 21 matches

by froussel
Mon May 25, 2020 2:00 pm
Forum: General Discussion
Topic: E (4554) httpd: httpd_server_init: error in bind (112)
Replies: 1
Views: 3740

E (4554) httpd: httpd_server_init: error in bind (112)

Hello, I downloaded the program https://github.com/dproldan/Esp32AutoCamera Everything worked perfectly I changed the powerbank and since then I have : Starting web server on port: '80' E (4554) httpd: httpd_server_init: error in bind (112)   at startup and if I try a connection to the server the ES...
by froussel
Wed Feb 19, 2020 8:25 pm
Forum: Sample Code
Topic: TTGO-T-display + SD card
Replies: 13
Views: 37447

Re: TTGO-T-display + SD card

I commented on the parts I used. It's a bit far in my memory and I don't have too much time to dive back into it You should be able to do it otherwise I would watch more #include <TFT_eSPI.h> #include "FS.h" #include "SD.h" #include <SPI.h> #include <Wire.h> /* SPIClass spiSD(HSPI); #define SCK 13 #...
by froussel
Tue Feb 18, 2020 8:20 am
Forum: Sample Code
Topic: TTGO-T-display + SD card
Replies: 13
Views: 37447

Re: TTGO-T-display + SD card

Hi,
My program is now well developed and extract that the part for the sd is complex.
It will be easier to correct your code
by froussel
Mon Jan 06, 2020 3:25 pm
Forum: Sample Code
Topic: TTGO-T-display + SD card
Replies: 13
Views: 37447

Re: TTGO-T-display + SD card

All is OK if use the sample SD-test of library SD for esp32
by froussel
Mon Jan 06, 2020 2:48 pm
Forum: Sample Code
Topic: TTGO-T-display + SD card
Replies: 13
Views: 37447

Re: TTGO-T-display + SD card

If I add File myFile; myFile = SD.open("test.txt", FILE_WRITE); // if the file opened okay, write to it: if (myFile) { Serial.print("Writing to test.txt..."); myFile.println("testing 1, 2, 3."); myFile.close(); Serial.println("done."); } else Serial.println("error opening test.txt"); myFile = SD.ope...
by froussel
Mon Jan 06, 2020 2:18 pm
Forum: Sample Code
Topic: TTGO-T-display + SD card
Replies: 13
Views: 37447

Re: TTGO-T-display + SD card

With

Code: Select all

pinMode(2, OUTPUT);
and

Code: Select all

spiSD.begin(13,26,15,2);       //SCK,MISO,MOSI,ss 
    if(!SD.begin( SD_CS, spiSD, SDSPEED))
    {      Serial.println("Card Mount Failed");
           return;   }
     else Serial.println("SD ok");
I have SD ok... :)
by froussel
Mon Jan 06, 2020 10:33 am
Forum: Sample Code
Topic: TTGO-T-display + SD card
Replies: 13
Views: 37447

Re: TTGO-T-display + SD card

Test : #include <TFT_eSPI.h> #include <SPI.h> #include "WiFi.h" #include <Wire.h> #ifndef TFT_DISPOFF #define TFT_DISPOFF 0x28 #endif #ifndef TFT_SLPIN #define TFT_SLPIN 0x10 #endif #define TFT_MOSI 19 #define TFT_SCLK 18 #define TFT_CS 5 #define TFT_DC 16 #define TFT_RST 23 #define TFT_BL 4 // Disp...
by froussel
Fri Jan 03, 2020 9:10 pm
Forum: Sample Code
Topic: TTGO-T-display + SD card
Replies: 13
Views: 37447

Re: TTGO-T-display + SD card

https://images-na.ssl-images-amazon.com/images/I/61Kw%2BusL9XL._AC_SL1001_.jpg It is the first time that I have to use 2 SPI at the same time ... I very often read that the ports are mappable on the esp32 but it is a very fuzzy concept for me ... Should we enter the libraries? In addition not all p...
by froussel
Thu Jan 02, 2020 7:18 pm
Forum: Sample Code
Topic: TTGO-T-display + SD card
Replies: 13
Views: 37447

TTGO-T-display + SD card

GGTO-T-diplay use SPI for screen (ESP32 + IPS ST7789V 1.14")
SCLK = 18, MISO = 19, MOSI = 23, SS = 5... (VSPI)

Can I use an other SPI for SD module ? HSPI ?
How ?


+