Search found 56 matches

by pipi61
Tue Oct 06, 2020 3:37 pm
Forum: ESP32 Arduino
Topic: Saving preferences doesn't work
Replies: 8
Views: 10434

Re: Saving preferences doesn't work

Use another variable to check valid NVS content.
read this, if variable != 0x5A (or any fix value) then write this variable to 0x5A in NVS, and set all variable to default.
The NVS content don't guarantee the default empty value 0x0!
by pipi61
Tue Jun 02, 2020 11:25 am
Forum: ESP32 Arduino
Topic: ESP32 unable to execute uploaded program
Replies: 10
Views: 10181

Re: ESP32 unable to execute uploaded program

This not a blink.
try, and check serial console:
void loop() {
Serial.print(".");
digitalWrite(ONBOARD_LED,HIGH);
delay (1000);
digitalWrite(ONBOARD_LED,LOW);
delay (1000);


}
by pipi61
Mon Apr 13, 2020 11:30 pm
Forum: ESP32 Arduino
Topic: ESP32 SD card info
Replies: 8
Views: 14915

Re: ESP32 SD card info

sorry, i view sd, don"t sdfat.
Connect this pinout
CLK18, Miso19, Mosi23, CS15
and remove SPI.begin....
by pipi61
Mon Apr 13, 2020 10:11 pm
Forum: ESP32 Arduino
Topic: ESP32 SD card info
Replies: 8
Views: 14915

Re: ESP32 SD card info

The pinout change in your source:
SPI.begin( 14, 2, 15, 13); // The bultin SD card SPI for WROVER
void begin (int8_t sck=-1, int8_t miso=-1, int8_t mosi=-1, int8_t ss=-1);// this SPI.begin defined in spi.h
by pipi61
Tue Apr 07, 2020 6:17 pm
Forum: ESP32 Arduino
Topic: SD filename as date?
Replies: 11
Views: 13305

Re: SD filename as date?

:D
by pipi61
Tue Apr 07, 2020 11:54 am
Forum: ESP32 Arduino
Topic: SD filename as date?
Replies: 11
Views: 13305

Re: SD filename as date?

origin: Writing file:/2020-4-19.txt
your without slash:
this where?: Writing file: 2020-04-07
where dayStamp?
by pipi61
Mon Apr 06, 2020 9:31 pm
Forum: ESP32 Arduino
Topic: SD filename as date?
Replies: 11
Views: 13305

Re: SD filename as date?

I check https://github.com/espressif/arduino-esp32/tree/master/libraries/SD_MMC/examples/SDMMC_Test change hello.txt to 2020-4-19.txt results ok: ... Writing file: /2020-4-19.txt File written Appending to file: /2020-4-19.txt Message appended Reading file: /2020-4-19.txt Read from file: 2020-4-19 Wo...
by pipi61
Mon Apr 06, 2020 6:17 pm
Forum: ESP32 Arduino
Topic: SD filename as date?
Replies: 11
Views: 13305

Re: SD filename as date?

try underscore?
by pipi61
Wed Mar 18, 2020 1:42 pm
Forum: ESP32 Arduino
Topic: 2.8 TFT SPI with Touch
Replies: 3
Views: 5559

Re: 2.8 TFT SPI with Touch

Code: Select all

GPIO19  | MISO    |   T_DO  |
   GPIO23  | MOSI    |   T_DIN |
   GPIO18  | SCK     |   T_CLK  |
   
esp gpio19 connect to miso AND t_do ....
check your photo...