Thomas Van Aken
/
UART_Fill_Level
Test
main.cpp
- Committer:
- TVA
- Date:
- 2018-02-05
- Revision:
- 0:91a51c5b8b55
File content as of revision 0:91a51c5b8b55:
#include "mbed.h" Serial device(PD_5,A0,9600); int main() { device.format(8,SerialBase::None,1); while(1){ printf("0X%x\n\r",device.getc()); } // end while 1 } // end main