test test

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 
00003 Serial pc(USBTX, USBRX);
00004 
00005 SPI master(PA_7, PA_6, PA_5);
00006 
00007 int main(){
00008     pc.baud(256000);
00009     master.format(8,3);
00010     master.frequency(1000000);
00011     // this is a comment
00012 }