Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example code not works #295

Open
tasi788 opened this issue May 21, 2023 · 1 comment
Open

example code not works #295

tasi788 opened this issue May 21, 2023 · 1 comment

Comments

@tasi788
Copy link

tasi788 commented May 21, 2023

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 #145 (comment).
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.

@shhds
Copy link
Contributor

shhds commented Jul 14, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants