From 1254ef967da6785f420f0895dae9228258cfb87b Mon Sep 17 00:00:00 2001 From: Daniel Eichhorn <dani.eichhorn@squix.ch> Date: Wed, 14 Mar 2018 22:09:43 +0100 Subject: [PATCH] Add upgrade guide --- README.md | 4 +++- UPGRADE-4.0.md | 13 +++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 UPGRADE-4.0.md diff --git a/README.md b/README.md index 28c11b5..ed25ba7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [](https://travis-ci.org/ThingPulse/esp8266-oled-ssd1306) -# ESP8266 OLED SSD1306 +# ESP8266 OLED SSD1306 > We just released version 3.0.0. Please have a look at our [upgrade guide](UPGRADE-3.0.md) @@ -26,6 +26,8 @@ Check out the examples folder for a few comprehensive demonstrations how to use The API changed a lot with the 3.0 release. If you were using this library with older versions please have a look at the [Upgrade Guide](UPGRADE-3.0.md). +Going from 3.x version to 4.0 a lot of internals changed and compatibility for more displays was added. Please read the [Upgrade Guide](UPGRADE-4.0.md) + ## Features * Draw pixels at given coordinates diff --git a/UPGRADE-4.0.md b/UPGRADE-4.0.md new file mode 100644 index 0000000..1d371c5 --- /dev/null +++ b/UPGRADE-4.0.md @@ -0,0 +1,13 @@ +# Upgrade from 3.x to 4.0 + +There is one change that breaks compatibility with older versions. You'll have to change data type for all your binary resources such as images and fonts from + +```c +const char MySymbol[] PROGMEM = { +``` + +to + +```c +const uint8_t MySymbol[] PROGMEM = { +``` -- GitLab