-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SenseBoxOTA: use SSD1306 display if available #75
base: master
Are you sure you want to change the base?
Conversation
@noerw its fantastic! :-) The display is working an also the build script is working fine. I tried some changes and its working flawless. Maybe I'll try to change the Display library to https://github.com/greiman/SSD1306Ascii and see if we can save some space. |
u8x8 also might be an option; last time i used it it was pretty small. |
This adds support for the SSD1306 display, showing status information on the OLED, if it is connected.
Depends on #74.
oled.mp4
Note that this adds around 10kb to the compiled OTA bootloader, getting quite close to the reserved 64kb.
This means that adding more functionality (eg checksumming, /ping endpoint, ...) or updating libraries likely requires spending time on optimizing the bootloader size (there should be plenty of room for optimization), or growing the reserved bootloader space by 8kb (meaning currently flashed OTA bootloaders will be incompatible with the bigger one, and only 176kb are left for user code).
Billable time spent working: 2h
Time spent playing with the hardware: 3h ❤️