Arduino Sketch for a ESP32/ESP8266 based NTP clock with a library for a SH1106 OLED display.

falk 8763d2a6ba Adjusted Timing 2 years ago
PC1640-font-convert bebca98af9 Added font maker 2 years ago
Time db418bd937 Added Libraries 2 years ago
Timezone db418bd937 Added Libraries 2 years ago
PC1640_clock.ino 8763d2a6ba Adjusted Timing 2 years ago
README.md e647458dfe more typos 2 years ago
SH1106 datasheet.pdf 973e526da8 first commit 2 years ago
SH1106.cpp 8763d2a6ba Adjusted Timing 2 years ago
SH1106.h 312b40c580 changes for esp8266 compability 2 years ago
font.h ca33687789 Commit Test 2 years ago

README.md

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.