Error Handling in C (PI5): Versionsgeschichte

Aus C und Assembler mit Raspberry

Auswahl des Versionsunterschieds: Markiere die Radiobuttons der zu vergleichenden Versionen und drücke die Eingabetaste oder die Schaltfläche am unteren Rand.
Legende: (Aktuell) = Unterschied zur aktuellen Version, (Vorherige) = Unterschied zur vorherigen Version, K = Kleine Änderung

23. August 2024

22. August 2024

20. August 2024

13. August 2024

  • AktuellVorherige 12:4612:46, 13. Aug. 2024Satyria Diskussion Beiträge 1.408 Bytes +1.408 Bytes Die Seite wurde neu angelegt: „Since we currently don't have a way to display information directly to us, we'll use the LED to indicate when something goes wrong. To do this, we’ll create a function that displays an error code using the LED. We will extend our "led.c" code with the following function: <syntaxhighlight lang="C"> void LED_Error(u32 errorcode) { while (TRUE) { for (u32 z = 0; z < errorcode; z++) { LED_on(); // Turn the LED on…“