04-10-2018, 08:31 AM
(04-10-2018, 03:17 AM)xalius Wrote: Are you using spidev?
I'm not sure, but I don't think so. I put my code on github here so you can see what I'm doing.
I initially took the code from Adafruit, but since this library uses a different implementation for SPI (and I2C) I modified it to work on the pine64.
Nokia5110.py is my modified library.
nokia_test2.py draws some shapes and text on the display.
nokia_clock2.py draws a very simple analog clock.