V2
Dependencies: mbed Flipper_Affichage WS2812 PixelArray
Revision 0:1dff6293fee8, committed 2021-12-16
- Comitter:
- bastien_07
- Date:
- Thu Dec 16 12:16:04 2021 +0000
- Commit message:
- V2
Changed in this revision
--- /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