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
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
1:a37035f55af3 | 2016-05-10 | Dzhafarkhanov | add rotation |
0:f7b7f71865d1 | 2016-04-28 | Dzhafarkhanov | SEPS114a Driver; |