Commit Graph
259 Commits
Author SHA1 Message Date
b.moniey ae96f6ee42 private data to protected 2021-10-03 13:38:18 -07:00
b.moniey 0de2f56f0a -Added typedef dfunc_t for user display function
-Added void display_d(dfunc_t dfunc) which is a variant of the display() that calls a user function after each row
-changed private data to protected to more easily derive and modify.
2021-10-01 21:54:11 -07:00
Dylan HerradaandGitHub 35ad5448ed Bump to 2.4.6 2.4.6 2021-06-14 15:57:51 -04:00
Limor "Ladyada" FriedandGitHub 2ae9169e60 Merge pull request #212 from Zwettekop/master
Fixed typo in README.md: ATSAM21D should be ATSAMD21
2021-06-07 22:12:17 -04:00
Zwettekop 43b68ff821 Fixed typo in README.md: ATSAM21D should be ATSAMD21 2021-06-08 03:27:26 +02:00
Limor "Ladyada" FriedandGitHub 6bc9033f12 Merge pull request #209 from montoyamoraga/patch-1
change format of binary numbers
2.4.5
2021-05-10 10:39:02 -04:00
montoyamoraga c141e794f9 used clang-format 2021-05-09 22:44:32 -04:00
aarón montoya-moragaandGitHub 48a9a89be6 Bump to 2.4.5 2021-05-08 23:44:23 -04:00
aarón montoya-moragaandGitHub fdece81c44 change B to 0b 2021-05-08 23:30:29 -04:00
aarón montoya-moragaandGitHub f8b3aebe6f Update ssd1306_128x64_i2c.ino 2021-05-08 23:29:13 -04:00
aarón montoya-moragaandGitHub e76722222d Update ssd1306_128x32_spi.ino 2021-05-08 23:28:32 -04:00
aarón montoya-moragaandGitHub 3af3a2a48f change B to 0b 2021-05-08 23:27:42 -04:00
aarón montoya-moragaandGitHub 28e7e59a70 change B to 0b 2021-05-08 23:26:24 -04:00
aarón montoya-moragaandGitHub 83399e1d1c change format of binary numbers
fixes #208
2021-05-08 23:16:08 -04:00
Dylan HerradaandGitHub f75c56c37d Bump to 2.4.4 2.4.4 2021-04-08 16:20:28 -04:00
lady ada 8191e2d028 tested with RP2040 2021-03-27 17:23:49 -04:00
Dylan HerradaandGitHub 23501ecb14 Bump to 2.4.3 2.4.3 2021-01-21 22:00:35 -05:00
Limor "Ladyada" FriedandGitHub 500bd8ae3a Merge pull request #199 from flywire/master
#define SCREEN_ADDRESS instead of hard-coded value
2021-01-11 22:11:07 -05:00
flywire 018e49ebc8 #define SCREEN_ADDRESS instead of hard-coded value 2021-01-12 14:00:40 +11:00
Dylan HerradaandGitHub 56a1c9462a Bump to 2.4.2 2.4.2 2020-12-16 14:11:35 -05:00
Limor "Ladyada" FriedandGitHub 19e45ee428 Merge pull request #194 from Palmstroemen/patch-1
Added comments for pins used on different boards
2020-12-15 23:09:03 -05:00
Oliver RafelsbergerandGitHub e22ec6ab63 Added comments for pins used on different boards
To help users getting started less painful. You find 1000 pics of arduino UNOs connected at pins A4, A5 to the display but it doesn't work on your MEGA 2560 because there it's the pins 20, 21 that are used for I2C. You don't necessarily know that already at the moment you start with these displays. And you maybe do not search in the Wire-library for the solution.
2020-12-15 21:09:41 +01:00
lady ada 298a674a14 patch for large i2c buffers 2.4.1 2020-11-15 15:00:10 -05:00
lady ada e46c80def6 clankz 2020-11-15 14:38:32 -05:00
lady ada 90a246b6b3 hotfix for https://forums.adafruit.com/viewtopic.php?f=47&t=171641 (this library is going to get refactored anyways and all this code will move out) 2020-11-15 14:26:24 -05:00
siddaciousandGitHub 2f93b8453b Update library.properties 2.4.0 2020-08-28 12:31:21 -07:00
Limor "Ladyada" FriedandGitHub e0c3383847 Merge pull request #184 from rgiese/master
Add support for Particle MCUs' I2C buffer sizing
2020-08-27 19:43:25 -04:00
Robin Giese f2cdb5bdf4 Add support for Particle MCUs' I2C buffer sizing 2020-08-27 15:52:35 -07:00
dherradaandGitHub d62796bbe8 bump to 2.3.1 2.3.1 2020-07-06 16:40:21 -04:00
Limor "Ladyada" FriedandGitHub 23a7e50b77 Merge pull request #176 from wecassidy/master
Replace boolean with standard bool
2020-07-01 10:52:19 -04:00
wecassidy ad9c3cd7c8 Replace boolean with standard bool 2020-06-30 20:06:46 -07:00
Limor "Ladyada" FriedandGitHub d4edaa0225 Merge pull request #173 from adafruit/actionci
Moved repository to github actions
2.3.0
2020-06-08 10:06:25 -04:00
dherrada 1aff4c911b Moved repository to github actions 2020-06-08 09:55:11 -04:00
siddaciousandGitHub 66cba54415 Update library.properties 2.2.1 2020-03-16 12:11:29 -07:00
Limor "Ladyada" FriedandGitHub 68249c7803 Merge pull request #170 from ausi/patch-1
Fix comment of 128x64 example
2020-03-14 14:19:00 -04:00
Martin AuswögerandGitHub 3736824148 Fix comment of 128x64 example 2020-03-14 19:08:45 +01:00
siddaciousandGitHub d3838a3cc9 Update library.properties 2.2.0 2020-02-17 18:38:05 -08:00
Limor "Ladyada" FriedandGitHub cedabdf487 Merge pull request #168 from KurtE/SPI_SETTINGS_PROTECTED
Allow a sketch to sub-class the SSD1306 object and change SPI settings
2020-02-16 18:21:42 -05:00
Kurt Eckhardt d1bcc4ff9b Allow a sketch to sub-class the SSD1306 object and change SPI settings
At least some of the SSD1309 displays can work with this library if SPI_MODE0 is changed to SPI_MODE3.

Instead of allowing the main constructor to do this, we pulled the spiSettings member out to be protected instead of private.  This allows us to create a smple subclass of this code base to run on these displays.  With this I have a version of the ssd1306_128x64_spi sketch that has the subclass code:
```
class Adafruit_SSD1309_SPI : public Adafruit_SSD1306 {
 public:
  Adafruit_SSD1309_SPI(uint8_t w, uint8_t h, SPIClass *spi,
    int8_t dc_pin, int8_t rst_pin, int8_t cs_pin, uint32_t bitrate=8000000UL) :
    Adafruit_SSD1306(w, h, spi, dc_pin, rst_pin, cs_pin, bitrate) {
#ifdef SPI_HAS_TRANSACTION
  spiSettings = SPISettings(bitrate, MSBFIRST, SPI_MODE3);
#endif

    }
};
```
and then I used the hardware version of the constructor:
```
#define OLED_DC     6
#define OLED_CS     7
#define OLED_RESET  8
Adafruit_SSD1309_SPI display(SCREEN_WIDTH, SCREEN_HEIGHT,
  &SPI, OLED_DC, OLED_RESET, OLED_CS);
```
And it now runs on this display
2020-02-16 15:07:32 -08:00
Melissa LeBlanc-Williams 6afb0262fe Bumped for version release 2.1.0 2020-01-10 16:33:27 -08:00
Melissa LeBlanc-Williams 2bc1a5412d Merge branch 'master' of https://github.com/adafruit/Adafruit_SSD1306 2020-01-10 16:32:28 -08:00
Melissa LeBlanc-WilliamsandGitHub a9036afced Merge pull request #163 from mzero/contrast
save correct contrast setting for use in dim() function
2020-01-10 16:31:43 -08:00
Melissa LeBlanc-Williams 2014e8f082 Merge branch 'contrast' of https://github.com/mzero/Adafruit_SSD1306 2019-12-30 09:27:51 -08:00
Lady Ada 47c15c1cf3 add dep 2.0.4 2019-12-25 15:17:05 -05:00
Mark Lentczner 7fdddecaa7 save correct contrast setting for use in dim() function
In begin(), there is code to compute the correct contrast value, based on the configuration of the display.
The same code also computes the comPin setting. This code has been factored so that these two values
are computed, and contrast saved in an instance variable.

Later, in dim(), the saved computed contrast value is used when un-dimming the display.
2019-12-21 23:18:30 -08:00
siddaciousandGitHub 6dc036e618 Update library.properties 2.0.3 2019-12-17 13:02:23 -08:00
Paint Your DragonandGitHub 928a370e7a Merge pull request #154 from BillyDonahue/splash
splash.h: use binary literals for bitmaps
2019-12-10 17:39:30 -08:00
Billy DonahueandBilly Donahue d6c345c245 splash.h: use binary literals for bitmaps
Same bits as before, but now directly visible as nice grid of 0s and 1s..
Include bitmaps and codegen script that generate splash.h.
2019-12-01 23:35:13 -05:00
siddaciousandGitHub b8da224ba0 Update library.properties 2.0.2 2019-11-27 11:16:16 -08:00
Limor "Ladyada" FriedandGitHub cd37a3286d Merge pull request #158 from fphammerle/fix-arduino-older-157
fix build for arduino version < 157
2019-11-25 13:48:36 -05:00