code ecran

Dependencies:   mbed

Fork of SSD1306 by Masato YAMANISHI

Files at this revision

API Documentation at this revision

Comitter:
Raphou
Date:
Mon Oct 30 13:44:54 2017 +0000
Parent:
4:ec5add86f335
Commit message:
Code relatif ? l'?cran

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r ec5add86f335 -r 4b89cc384f43 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Oct 30 13:44:54 2017 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+#include "ssd1306.h"
+
+SSD1306 ecran(D3,PA_1,PA_4,PA_5,PA_6); // ECRAN(CS,Rst,DC,Clk,Data)
+
+int main()
+{
+    char *a;
+    a = "Coucou";
+    
+    while(1)
+    {
+        ecran.printf("%s",&a);    
+    }
+    
+}
\ No newline at end of file
diff -r ec5add86f335 -r 4b89cc384f43 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Oct 30 13:44:54 2017 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/users/mbed_official/code/mbed/builds/675da3299148
\ No newline at end of file