Docs

Die Seite verlinkt auf Nächste Seite.

Files at this revision

API Documentation at this revision

Comitter:
bulmecisco
Date:
Mon Jun 04 17:56:42 2018 +0000
Parent:
0:749dbf57cdeb
Commit message:
Docs 2;

Changed in this revision

Beva.h Show annotated file Show diff for this revision Revisions of this file
diff -r 749dbf57cdeb -r 2b0e3e783590 Beva.h
--- a/Beva.h	Mon Jun 04 17:53:02 2018 +0000
+++ b/Beva.h	Mon Jun 04 17:56:42 2018 +0000
@@ -18,10 +18,13 @@
  * DigitalOut led(LED1);
  *
  * int main() {
- *     while(1) {
- *         led = !led;
- *         wait(0.2);
- *     }
+ *    while (1) {
+ *        led = !led;
+ *        printf("Blink! LED is now %d\n", led.read());
+ *        eva.eingabe();
+ *        eva.ausgabe();
+ *      wait_ms(500);
+ *    }
  * }
  * @endcode
  * @ingroup drivers