Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 17:82015753cf7a, committed 2019-01-11
- Comitter:
- bertvoldenuit
- Date:
- Fri Jan 11 22:56:36 2019 +0000
- Parent:
- 16:7fb1d4d3525d
- Commit message:
- adaptation de l'exemple Adafruit_GFX trouve sur Arduino. Ne compile pas
Changed in this revision
Adafruit_GFX.h | Show annotated file Show diff for this revision Revisions of this file |
Adafruit_SSD1306.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Adafruit_GFX.h Tue Nov 11 22:08:20 2014 +0000 +++ b/Adafruit_GFX.h Fri Jan 11 22:56:36 2019 +0000 @@ -20,7 +20,7 @@ #ifndef _ADAFRUIT_GFX_H_ #define _ADAFRUIT_GFX_H_ -#include "Adafruit_GFX_Config.h" +#include <Adafruit_GFX_Config.h> static inline void swap(int16_t &a, int16_t &b) {
--- a/Adafruit_SSD1306.h Tue Nov 11 22:08:20 2014 +0000 +++ b/Adafruit_SSD1306.h Fri Jan 11 22:56:36 2019 +0000 @@ -170,7 +170,7 @@ * @param rawHeight - The vertical number of pixels for the display, defaults to 32 * @param rawWidth - The horizonal number of pixels for the display, defaults to 128 */ - Adafruit_SSD1306_I2c(I2C &i2c, PinName RST, uint8_t i2cAddress = SSD_I2C_ADDRESS, uint8_t rawHeight = 32, uint8_t rawWidth = 128) + Adafruit_SSD1306_I2c(I2C &i2c, PinName RST, uint8_t i2cAddress = SSD_I2C_ADDRESS, uint8_t rawHeight = 64, uint8_t rawWidth = 128) : Adafruit_SSD1306(RST, rawHeight, rawWidth) , mi2c(i2c) , mi2cAddress(i2cAddress)