dotomatodayo

Dependencies:   mbed

main.cpp

Committer:
syosyo
Date:
2018-09-11
Revision:
0:d8eebd636627

File content as of revision 0:d8eebd636627:

#include "mbed.h"


BusOut A_led(PA_7,PA_1,PA_11,PA_4,PB_1,PA_8,PB_1,PF_1);
BusOut K_led(PB_3,PA_0,PA_5,PA_9,PA_6,PA_10,PA_12,PA_3);

int main(){
    while(1){
        for(int i = 0;i < 8;i++){
            K_led = 0b10000000;
            A_led = 0b11111111;
            K_led = K_led >> 1;
                }
        }
}