Program for Nucleo Board / DMX and MIDI protocols - with nRF24 library (RF communications)

Dependencies:   MOD24_NRF DMX_MIDI nRF24

Files at this revision

API Documentation at this revision

Comitter:
villemejane
Date:
Tue Mar 01 08:39:21 2022 +0000
Parent:
0:32bfc984f2f7
Commit message:
Program for Nucleo Board / DMX and MIDI protocols - with nRF24 library (RF communications)

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 32bfc984f2f7 -r 5299cd356364 main.cpp
--- a/main.cpp	Sun Dec 12 12:43:27 2021 +0000
+++ b/main.cpp	Tue Mar 01 08:39:21 2022 +0000
@@ -24,8 +24,7 @@
     debug_pc.baud(115200);
     debug_pc.printf("Test\r\n");
     
-    /* Initialisation comm nRF24 - nécessite l'extension MIDI */
-    //initNRF24();
+    initNRF24();
     
     // Initialisation périphériques
     initDMX();
@@ -41,6 +40,9 @@
     dmx_data[6] = 50;
 
     while(1) { 
+        // testNRF24();
+        
+    
         /* MIDI */
         
         if(isNoteMIDIdetected()){