test

Dependencies:   SEGGER_RTT

main.cpp

Committer:
ppcc
Date:
2020-10-15
Revision:
0:78525a886bac

File content as of revision 0:78525a886bac:

#include "mbed.h"

DigitalOut led1 ( P1_13 ) ;
int main () {
    led1 = 0;
    int counter = 0;
    
    
    while ( true ) {
        led1 =! led1 ;
        counter = counter + 1;
        wait_ms (2000) ;
        printf("PQP %d\n", counter);
    }
}