Skip to content

filmote/OLEDCalendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##OLEDCalendar An ESP8266 / OLED display project that renders a calendar.

##Background The inspiration for this project came from rydepier's Arduino-and-OLED-Calendar project which was targeted at the Arduino and used a different library to drive the OLED. While rewriting it for the ESP8266, I used none of the original code.

Additional thanks to :


##In Operation

The calendar provides a couple of configuration parameters that control its visual appearance and allow it to utilise the small real estate of the OLED effectively. Namely these are:

#define CAL_SHOW_6_ROWS_OF_DAYS                     false
#define CAL_SHOW_MONTH_YEAR                         false 



CAL_SHOW_MONTH_YEAR set to false, CAL_SHOW_6_ROWS_OF_DAYS set to true:

Note that the calendar takes up six lines in this example and line spacing is tight at 9 pixels between rows.. Where a month renders in five rows, the line spacing will be increased to improve the readability (11 pixels between lines).

Calendar 2



CAL_SHOW_MONTH_YEAR set to false, CAL_SHOW_6_ROWS_OF_DAYS set to false:

Note that the line spacing is greater than the previous examples (11 pixels between rows) but the 31 is rendered on the first line. Most months will render in five rows (or even four if it is February in a non-leap year and the first day of the month is a Monday!).

Calendar 3



CAL_SHOW_MONTH_YEAR set to true:

When rendering the month / year heading, the date must be displayed in 6 rows (as if CAL_SHOW_6_ROWS_OF_DAYS set to false). Due to real estate restrictions, the line spacing is kept tight (9 pixels).

Calendar 1


About

ESP8266 / OLED Calendar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%