Clock cycle

Dependencies:   mbed

main.cpp

Committer:
gkumar
Date:
2015-06-11
Revision:
0:122d7b243f18

File content as of revision 0:122d7b243f18:

#include "mbed.h"

DigitalOut gpo(D7);

int main()
{
    while (true) {
        gpo = !gpo; // toggle pin
        wait_us(1);
    }
}