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
Files at revision 17:56015e4834e6
Name | Size | Actions |
---|---|---|
[up] | ||
Adafruit_GFX.cpp | 11637 | Revisions Annotate |
Adafruit_GFX.h | 6652 | Revisions Annotate |
Adafruit_GFX_Config.h | 282 | Revisions Annotate |
Adafruit_SSD1351.cpp | 10342 | Revisions Annotate |
Adafruit_SSD1351.h | 4761 | Revisions Annotate |
glcdfont.h | 10588 | Revisions Annotate |