A derived version of the BSD licensed Adafrut GFX library for the SSD1351 controller for an OLED 128x 96or 128x128 display using SPI
Fork of Adafruit_GFX by
You can print russian. (font edited).
class SPIPreInit : public SPI { public: SPIPreInit(PinName mosi, PinName miso, PinName clk) : SPI(mosi,miso,clk) { format(8,3); frequency(25000000); }; }; SPIPreInit gSpi(PB_15,NC,PB_13); PinName mosi(sda), PinName miso, PinName clk(scl) Adafruit_SSD1351_Spi oled(gSpi,PB_14,PB_1,PB_2); PinName DC, PinName RST, PinName CS
History
SSD1351;
2016-02-24, by Dzhafarkhanov [Wed, 24 Feb 2016 12:24:42 +0000] rev 17
SSD1351;
removed test comments
2014-11-11, by JojoS [Tue, 11 Nov 2014 22:08:20 +0000] rev 16
removed test comments
copy in line 211 requires index-1 because x starts at offset 1 and not at 0.
2014-11-11, by JojoS [Tue, 11 Nov 2014 22:02:52 +0000] rev 15
copy in line 211 requires index-1 because x starts at offset 1 and not at 0.
Code space optimizations;; Make simple set/getter functions inlined.; Fix ifdef around setTextSize() to be either GFX_WANT_ABSTRACTS or GFX_SIZEABLE_TEXT; ifdef drawBitmap() w/ GFX_WANT_ABSTRACTS.;
2014-10-25, by nkhorman [Sat, 25 Oct 2014 20:41:38 +0000] rev 14
Code space optimizations;; Make simple set/getter functions inlined.; Fix ifdef around setTextSize() to be either GFX_WANT_ABSTRACTS or GFX_SIZEABLE_TEXT; ifdef drawBitmap() w/ GFX_WANT_ABSTRACTS.;
flesh out the config defines
2014-10-21, by nkhorman [Tue, 21 Oct 2014 02:30:58 +0000] rev 13
flesh out the config defines
merge documentation
2014-10-21, by nkhorman [Tue, 21 Oct 2014 02:16:49 +0000] rev 12
merge documentation
Add some documentation
2014-10-21, by nkhorman [Tue, 21 Oct 2014 02:04:08 +0000] rev 11
Add some documentation
fix - missed this in the refactor
2014-10-20, by nkhorman [Mon, 20 Oct 2014 03:16:15 +0000] rev 10
fix - missed this in the refactor
c++'ify the SPI vs I2C driver portions, instead of compile time defines.; The SSD1306 driver can now be instantiated multiple times, supporting simultaneous displays of differing dimensions.
2014-10-19, by nkhorman [Sun, 19 Oct 2014 20:55:27 +0000] rev 9
c++'ify the SPI vs I2C driver portions, instead of compile time defines.; The SSD1306 driver can now be instantiated multiple times, supporting simultaneous displays of differing dimensions.
fix compile warning and error
2014-10-19, by nkhorman [Sun, 19 Oct 2014 04:45:11 +0000] rev 8
fix compile warning and error