Simon Ford
/
SerialSpeedTest
main.cpp
- Committer:
- simon
- Date:
- 2009-12-01
- Revision:
- 0:cd298e564757
File content as of revision 0:cd298e564757:
// display clock frequency at 921600 baud, sford #include "mbed.h" Serial pc(USBTX, USBRX); int main() { pc.baud(921600); pc.printf("SystemCoreClock = %d Hz\n", SystemCoreClock); while(1) { pc.putc(pc.getc() + 1); } }