3.3V Output

Dependencies:   mbed

main.cpp

Committer:
umezawa
Date:
2020-12-29
Revision:
0:b62a2d623514

File content as of revision 0:b62a2d623514:

#include "mbed.h"
DigitalOut conv(A3);
DigitalOut led1(D6);
DigitalOut led2(A4);

int main()
{
    conv = 1;
    while(1) {
        led1 = 1;
        led2 = 1;
        wait(0.5);
        led1 = 0;
        led2 = 0;
        wait(0.5);
    }
}