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

"Failed to Initialize: No such file or directory!" on RPI zero 6.1.21+ #1642 Mon Apr 3 17:19:14 BST 2023 armv6l GNU/Linux #156

Open
Ganjouille opened this issue Oct 7, 2023 · 1 comment
Assignees
Labels

Comments

@Ganjouille
Copy link

Ganjouille commented Oct 7, 2023

Describe the bug
The demo is compiling fine after I modified for SPI. Same connections works with addafruit_ssd1306 in python.

To Reproduce
Steps to reproduce the behavior:

  1. Uncomment examples/demos/ssd1306_demo/ssd1306_demo.ino and change the SPI pins on line 168 to conveniance following GPIO number. In my case RST=gpio24, CE=gpio23, D/C=gpio22
  2. Uncomment other init function calls (i2c, etc)
  3. cd tools && ./build_and_run.sh -p linux demos/ssd1006_demo
  4. cd bld/demos/ && sudo ./ssh1306_demo
  5. see error "Failed to initialize SPI: No such file or directory!"

Expected behavior
See menu on lcd

Please complete the following information:

  • library version: latest
  • SSD1306 over SPI
  • raspbian latest
  • raspberrypi zero
@Ganjouille
Copy link
Author

Ok so I changed pin configuration again and rebuilt. Is working fine now! Sorry /:

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

No branches or pull requests

2 participants