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

ValueError: need more than 1 values to unpack #7

Open
fishfree opened this issue Oct 7, 2024 · 5 comments
Open

ValueError: need more than 1 values to unpack #7

fishfree opened this issue Oct 7, 2024 · 5 comments

Comments

@fishfree
Copy link

fishfree commented Oct 7, 2024

I strictly followed the READMEs. However, the waveshare screen did not light up and erorr occured as below:
image
I connected the ESP32 board and Waveshare screen strictly as your photos in the README.

I notice PIN_DIN = 19, however, the D19 pin on the ESP32 board is not wired as your photos.
What's wrong with mine? I'm a total novice to this scope. FYI: here is the official specification book of Waveshare E-Ink.

@LLLLimbo
Copy link

LLLLimbo commented Oct 8, 2024

I’m facing the same issue, not sure what’s causing it either.

lds133 added a commit that referenced this issue Oct 8, 2024
@lds133
Copy link
Owner

lds133 commented Oct 8, 2024

Please try to check if the image is accessible. Connect to the same wifi from your phone and enter the url to the test.bmp. You should see the image in portrait orientation. The expected size of the image is 4798 bytes.

Sorry, there is a confusion about the pin names. Pin 23 is used as MOSI, pin 19 (MISO) is unused.

@fishfree
Copy link
Author

fishfree commented Oct 8, 2024

@lds133 Thank you very much! I updated the 2 files, re-flash MicroPython into my ESP32 board, re-upload all the scripts with Thonny. However, the errors still occured the same.

@lds133
Copy link
Owner

lds133 commented Oct 11, 2024

The most recent update was a cosmetic and is not intended to fix the problem.
If the image is accessible through the local wifi, it is the expected size, and the board has successfully connected to the wifi more investigation is needed for the "get" function of the Micro Python requests library.
I would start by checking if it works in general, checking if it is possible to "get" something from a well-known url.

@fishfree
Copy link
Author

@lds133 Thank you! I checked in the Web admin-UI of my WiFi that my ESP32 had connected my WiFi.

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

3 participants