|falk 8763d2a6ba Adjusted Timing||3 years ago|
|PC1640-font-convert||3 years ago|
|Time||3 years ago|
|Timezone||3 years ago|
|PC1640_clock.ino||3 years ago|
|README.md||3 years ago|
|SH1106 datasheet.pdf||3 years ago|
|SH1106.cpp||3 years ago|
|SH1106.h||3 years ago|
|font.h||3 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.