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 Neal Horman

/media/uploads/Dzhafarkhanov/1673-09.jpg

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

Changes

RevisionDateWhoCommit message
17:56015e4834e6 2016-02-24 Dzhafarkhanov SSD1351; default tip
16:7fb1d4d3525d 2014-11-11 JojoS removed test comments
15:77feec1c0684 2014-11-11 JojoS copy in line 211 requires index-1 because x starts at offset 1 and not at 0.
14:edb3c36aa1a7 2014-10-25 nkhorman 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.;
13:8f03f908f22a 2014-10-21 nkhorman flesh out the config defines
12:7964c2cfdebc 2014-10-21 nkhorman merge documentation
11:86909e6db3c8 2014-10-21 nkhorman Add some documentation
10:d5aee2d2f8dd 2014-10-20 nkhorman fix - missed this in the refactor
9:ddb97c9850a2 2014-10-19 nkhorman 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.
8:416b8fe451b3 2014-10-19 nkhorman fix compile warning and error
7:779204e24db4 2014-10-18 Neal Horman missed this define change in the last change set
6:1be3e3b46eb7 2014-10-18 Neal Horman hand merge Alo?s Wolff's i2c additions with a few #define tweaks
5:315de3647c9f 2014-10-16 Neal Horman tweak Christians idea.
4:853097cfa773 2014-04-29 chrta Remove some duplicated code.
3:969ca9fe5e2b 2013-01-23 nkhorman line endings ?
2:7bcea45e60d8 2012-08-19 nkhorman change swap() from a define to a static inline function to quell compiler problems.
1:9db12505727a 2012-07-17 nkhorman change the default background color to black
0:c3dcd4c4983a 2012-07-16 nkhorman add adafruit oled 128x32 display library via spi interface.; display card reader events on the oled