progamme experience

Dependencies:   mbed RGB_matrix_Panel_modif

Revision:
3:dfa6925e27d0
Parent:
2:7e46a870ebd1
Child:
4:758ce5c1b2fc
--- a/main.cpp	Fri May 24 20:45:48 2019 +0000
+++ b/main.cpp	Sat May 25 16:39:46 2019 +0000
@@ -39,6 +39,9 @@
 */
 Serial BT_PR(p28,p27,115200); // Depart Bluetooth
 Serial BT_E(p13,p14,115200); // Depart Bluetooth
+
+DigitalOut depart(p5,0); // Depart filaire
+
 //Serial pc(USBTX,USBRX,115200); // Depart Bluetooth
 int main()
 {
@@ -55,7 +58,10 @@
                     matrix.fillScreen(matrix.Color333(7, 0, 0));
                     wait_ms(500);
                 }
-                BT_E.printf("D");
+                
+                depart = 1; // départ filaire
+                BT_E.printf("D"); // départ bluetooth
+                
                 matrix.fillScreen(matrix.Color333(0, 0, 0));
                 while(1) {
                     // draw some text!