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

Committer:
Dzhafarkhanov
Date:
Wed Feb 24 12:24:42 2016 +0000
Revision:
17:56015e4834e6
Parent:
13:8f03f908f22a
SSD1351;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
nkhorman 13:8f03f908f22a 1 #ifndef _ADAFRUIT_GFX_CONFIG_H_
nkhorman 13:8f03f908f22a 2 #define _ADAFRUIT_GFX_CONFIG_H_
nkhorman 13:8f03f908f22a 3
Dzhafarkhanov 17:56015e4834e6 4
nkhorman 13:8f03f908f22a 5
nkhorman 13:8f03f908f22a 6 // Uncomment this to enable all functionality
Dzhafarkhanov 17:56015e4834e6 7 #define GFX_WANT_ABSTRACTS
nkhorman 13:8f03f908f22a 8
nkhorman 13:8f03f908f22a 9 // Uncomment this to enable only runtime font scaling, without all the rest of the Abstracts
nkhorman 13:8f03f908f22a 10 //#define GFX_SIZEABLE_TEXT
nkhorman 13:8f03f908f22a 11
nkhorman 13:8f03f908f22a 12
nkhorman 13:8f03f908f22a 13 #endif