V2

Dependencies:   mbed Flipper_Affichage WS2812 PixelArray

Files at this revision

API Documentation at this revision

Comitter:
bastien_07
Date:
Thu Dec 16 12:16:04 2021 +0000
Commit message:
V2

Changed in this revision

Flipper_Affichage.lib Show annotated file Show diff for this revision Revisions of this file
PixelArray.lib Show annotated file Show diff for this revision Revisions of this file
WS2812.lib Show annotated file Show diff for this revision Revisions of this file
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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Flipper_Affichage.lib	Thu Dec 16 12:16:04 2021 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/bastien_07/code/Flipper_Affichage/#035a2e99ccdc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PixelArray.lib	Thu Dec 16 12:16:04 2021 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/teams/Embedded_Camp/code/PixelArray/#b45a70faaa83
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/WS2812.lib	Thu Dec 16 12:16:04 2021 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/bridadan/code/WS2812/#6e647820f587
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Dec 16 12:16:04 2021 +0000
@@ -0,0 +1,49 @@
+#include "mbed.h"
+#include "Flipper_Affichage.h"
+
+#define BANDE 9 
+/*
+    0=  noir    0x000000
+    1=  rouge   0xff0000
+    2=  vert    0x00ff00
+    3=  bleu    0x0000ff
+    4=  jaune   0xffff00
+    5=  marron  0x582900
+    6=  blanc   0xffffff
+    7=  rose    0xFA25CB
+    8=  gris    0x606060
+    9=  violet  0x7f00ff
+    */
+    
+    
+int main()
+{
+
+while(1) 
+{
+   InitDisplay('i','n',5,6,BANDE);
+   InitDisplay('f','o',7,8,BANDE);
+   Display();
+   wait(3);
+   NewDisplay();
+   InitDisplay('c','e',5,6,BANDE);
+   InitDisplay('s','t',7,8,BANDE);
+   Display();
+   wait(3);
+   NewDisplay();
+   InitDisplay('t','r',5,6,BANDE);
+   InitDisplay('o','p',7,8,BANDE);
+   Display();
+   wait(3);
+   NewDisplay();
+   InitDisplay('b','i',5,6,BANDE);
+   InitDisplay('e','n',7,8,BANDE);
+   Display();
+   wait(3);
+   NewDisplay();
+}  
+
+}
+
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Dec 16 12:16:04 2021 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file