SEPS114A Driver
SEPS114A SPI Driver
class SPIPreInit : public SPI { public: SPIPreInit(PinName mosi, PinName miso, PinName clk) : SPI(mosi,miso,clk) { format(8,3); frequency(12000000); }; };
SPIPreInit gSpi(PB_15,NC,PB_13); PinName mosi(sda), PinName miso, PinName clk(scl) Adafruit_SEPS114A_Spi oled(gSpi,PB_14,PB_1,PB_2); PinName DC, PinName RST, PinName CS
You can print russian cyrilic
Adafruit_GFX_Config.h@1:a37035f55af3, 2016-05-10 (annotated)
- Committer:
- Dzhafarkhanov
- Date:
- Tue May 10 06:19:10 2016 +0000
- Revision:
- 1:a37035f55af3
- Parent:
- 0:f7b7f71865d1
add rotation
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Dzhafarkhanov | 0:f7b7f71865d1 | 1 | #ifndef _ADAFRUIT_GFX_CONFIG_H_ |
Dzhafarkhanov | 0:f7b7f71865d1 | 2 | #define _ADAFRUIT_GFX_CONFIG_H_ |
Dzhafarkhanov | 0:f7b7f71865d1 | 3 | |
Dzhafarkhanov | 0:f7b7f71865d1 | 4 | |
Dzhafarkhanov | 0:f7b7f71865d1 | 5 | |
Dzhafarkhanov | 0:f7b7f71865d1 | 6 | // Uncomment this to enable all functionality |
Dzhafarkhanov | 0:f7b7f71865d1 | 7 | #define GFX_WANT_ABSTRACTS |
Dzhafarkhanov | 0:f7b7f71865d1 | 8 | |
Dzhafarkhanov | 0:f7b7f71865d1 | 9 | // Uncomment this to enable only runtime font scaling, without all the rest of the Abstracts |
Dzhafarkhanov | 0:f7b7f71865d1 | 10 | //#define GFX_SIZEABLE_TEXT |
Dzhafarkhanov | 0:f7b7f71865d1 | 11 | |
Dzhafarkhanov | 0:f7b7f71865d1 | 12 | |
Dzhafarkhanov | 0:f7b7f71865d1 | 13 | #endif |