Empty

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
vermaelen
Date:
Tue May 24 12:02:49 2022 +0000
Parent:
4:9e6950da125f
Commit message:
V4

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 9e6950da125f -r f619f1f71966 main.cpp
--- a/main.cpp	Tue May 24 12:00:03 2022 +0000
+++ b/main.cpp	Tue May 24 12:02:49 2022 +0000
@@ -10,10 +10,10 @@
 // Programme principal
 int main()
 {
-    cs.write(1);                    // CS initially High
-    spi.format(8,0);                // 8-bit format, mode 0,0
-    spi.frequency(1000000);         // SCLK = 1 MHz
-    Init_MAX7219();                 // Initialize the LED controller
+                        // Initialiser le CS à 1
+                        // préciser le format 8-bit , mode 0,0
+                        // Fixer l'horloge à 1MHz
+                        // Initialiser le composant MAX7219
 
     while (1) {