|falk 8763d2a6ba Adjusted Timing||2 years ago|
|PC1640-font-convert||2 years ago|
|Time||2 years ago|
|Timezone||2 years ago|
|PC1640_clock.ino||2 years ago|
|README.md||2 years ago|
|SH1106 datasheet.pdf||2 years ago|
|SH1106.cpp||2 years ago|
|SH1106.h||2 years ago|
|font.h||2 years ago|
This is the Code for a NTP deskclock I build into a miniature Amstrad 1640 PC model. I ran into some problems using the availible Libraries for the SH1106 OLED with an ESP32. Turns out that the driver need time to process data and commands. I made a library that takes the appropiate pauses after sending data.
Since I only need to simulate an Amstrad PC1640 console this library does only text mode for now. It should be easy to reintegrate this with the adafruit Graphics library if you merge in the appropriate delays and adjust the memory buffer to be 132 pixel wide. For some reason the SH1106 has 2 bits on each side as "waste" buffer in its ram.