fuji-usart

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 Serial sensor(p13,p14);
00002 Serial pc(USBTX, USBRX);
00003 
00004 int main(){
00005     //送信開始
00006     sensor.putc(1);
00007     //送信空き割り込み設定
00008     sensor.attach(&micon_tx,Serial::TxIrq);
00009 }