test test

Dependencies:   mbed

main.cpp

Committer:
pbdt1997
Date:
2019-04-20
Revision:
0:2ecd287645c0
Child:
1:562c7e9cb15c

File content as of revision 0:2ecd287645c0:

#include "mbed.h"

Serial pc(USBTX, USBRX);

SPI master(PA_7, PA_6, PA_5);

int main(){
    pc.baud(256000);
    master.format(8,3);
    master.frequency(1000000);
    
}