Docs

Embed: (wiki syntax)

« Back to documentation index

Beva Class Reference

Beva Class Reference

A digital output, used for setting the state of a pin. More...

#include <Beva.h>


Detailed Description

A digital output, used for setting the state of a pin.

Note:
Synchronization level: Interrupt safe

Example:

 // Toggle a LED
 #include "mbed.h"

 DigitalOut led(LED1);

 int main() {
    while (1) {
        led = !led;
        printf("Blink! LED is now %d\n", led.read());
        eva.eingabe();
        eva.ausgabe();
      wait_ms(500);
    }
 }

Definition at line 33 of file Beva.h.