this is a test of the library SSD1306 of adafruit for the oled of 128x64 with the card of development kl25z I have added a library to synthesize the main code

Fork of Adafruit_GFX by Neal Horman

Revision:
17:34dd85b7a465
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/I2C_Call.h	Tue Oct 24 00:47:39 2017 +0000
@@ -0,0 +1,38 @@
+/*
+ *  Copyright (c) 2012 Neal Horman - http://www.wanlink.com
+ *  
+ *  License: MIT open source (http://opensource.org/licenses/MIT)
+ *      Summary;
+ *      Use / modify / distribute / publish it how you want and 
+ *      if you use it, or don't, you can't hold me liable for how
+ *      it does or doesn't work.
+ *      If it doesn't work how you want, don't use it, or change
+ *      it so that it does work.
+ */
+#include "mbed.h"
+#include "Adafruit_SSD1306.h"
+
+/*// an SPI sub-class that provides a constructed default
+
+class SPIPreInit : public SPI
+{
+public:
+    SPIPreInit(PinName mosi, PinName miso, PinName clk) : SPI(mosi,miso,clk)
+    {
+        format(8,3);
+        frequency(2000000);
+    };
+};
+ */
+// an I2C sub-class that provides a constructed default
+
+class I2CPreInit : public I2C
+{
+public:
+    I2CPreInit(PinName sda, PinName scl) : I2C(sda, scl)
+    {
+        frequency(400000);
+        start();
+    };
+};
+ 
\ No newline at end of file