e-Paper icon indicating copy to clipboard operation
e-Paper copied to clipboard

example code not works

Open tasi788 opened this issue 1 year ago • 1 comments

Environments

  • Board: E-Paper ESP32 Driver Board
  • 4.2 b inches
  • Arduino IDE 2.1.0

Code

running and upload epd4in2b_V2

Problem

Initially encountered an issue of not finding avr/pgmspace. Later found the solution according to https://github.com/waveshare/e-Paper/issues/145#issuecomment-818427412. After compilation and successful uploading, the monitor keeps outputting this message repeatedly.

17:47:32.924 -> rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
17:47:32.924 -> configsip: 0, SPIWP:0xee
17:47:32.924 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
17:47:32.968 -> mode:DIO, clock div:1
17:47:32.968 -> load:0x3fff0030,len:1344
17:47:32.968 -> load:0x40078000,len:13924
17:47:32.968 -> ho 0 tail 12 room 4
17:47:32.968 -> load:0x40080400,len:3600
17:47:32.968 -> entry 0x400805f0

Afterward, I found some information on the Chinese page of Waveshare and carefully studied it. I discovered that the pin numbers defined on the two sides seem to be different. I am not sure what caused this issue. If possible, please let me know.

tasi788 avatar May 21 '23 10:05 tasi788

Configure the Arduino IDE as follows Tools -> • Erase All Flash Before Sketch Upload: "Enabled"

shhds avatar Jul 14 '23 09:07 shhds