0910

Dependencies:   mbed QEI2

debug.cpp

Committer:
kenboh
Date:
2019-09-10
Revision:
1:5f5d47a593bc
Parent:
0:2a0c62e53e9c

File content as of revision 1:5f5d47a593bc:

#include "debug.h"
#include "mbed.h"

DigitalOut led[2] = {DigitalOut(D6),DigitalOut(D7)};

void LED (int led_num){//led_num=0or1
    led[led_num]=1;
}

void F(){
    for(int i=0;i<100;i++){
        printf("test\r\n");
    }
}