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:
- 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
- Uncomment other init function calls (i2c, etc)
- cd tools && ./build_and_run.sh -p linux demos/ssd1006_demo
- cd bld/demos/ && sudo ./ssh1306_demo
- 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