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 21:e5fd68cfaf3d, committed 2020-03-04
- Comitter:
- jonaangelica
- Date:
- Wed Mar 04 22:47:09 2020 +0000
- Parent:
- 20:4f1803f9d4e7
- Commit message:
- initial comms;
Changed in this revision
Adafruit_SSD1306.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Adafruit_SSD1306.h Thu Feb 13 14:52:59 2020 +0000 +++ b/Adafruit_SSD1306.h Wed Mar 04 22:47:09 2020 +0000 @@ -77,7 +77,7 @@ class Adafruit_SSD1306_I2c : public Adafruit_SSD1306 { public: - #define SSD_I2C_ADDRESS 0x78 + //#define SSD_I2C_ADDRESS 0x78 //->0111 1000 0x7A -> 0111 1010 /** Create a SSD1306 I2C transport display driver instance with the specified RST pin name, the I2C address, as well as the display dimensions * * Required parameters @@ -89,7 +89,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, uint8_t i2cAddress = SSD_I2C_ADDRESS, uint8_t rawHeight = 32, uint8_t rawWidth = 128) + Adafruit_SSD1306_I2c(I2C &i2c, uint8_t i2cAddress, uint8_t rawHeight = 32, uint8_t rawWidth = 128) : Adafruit_SSD1306(rawHeight, rawWidth) , mi2c(i2c) , mi2cAddress(i2cAddress)