waveshareteam / Pico_ePaper_Code

Waveshrae Pico e-Paper driver code
GNU General Public License v3.0
136 stars 47 forks source link

ePaper Busy jam #6

Open picrumbs opened 3 years ago

picrumbs commented 3 years ago

Testing Pico_ePaper-2.13-D.py It just gets stuck in ReadBusy()

Tried a second pico and a second 2.13 display out of the box. same result.

Seems to be a common issue among different size displays.
but I do not see a resolution in the others.

MicroPython v1.16 on 2021-06-18; Raspberry Pi Pico with RP2040 Type "help()" for more information.

%Run -c $EDITOR_CONTENT init e-Paper busy

SSYYL commented 3 years ago

Check the dip switch on the board, 'Interface Config' should set up '0', 'Display Config' can adjust the refresh effect.

ba1uev commented 2 years ago

Same issue with Pico_ePaper-2.13-B.py. The busy pin value is always 0.

@picrumbs Any progress with this problem?

@SSYYL Which switch are you referring to? 2.13inch e-Paper HAT (B) doesn't have any dip switch as well as Pico board.

danielpox commented 2 years ago

This issue fixed it for me, after struggling with the same issue for days. Seems like you have initialize the SPI using extra parameters, and set an initial value for the pins.