mbed에서_serialport_사용하기
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| mbed에서_serialport_사용하기 [2012/08/22 20:44] – created 119.192.238.152 | mbed에서_serialport_사용하기 [2018/07/18 14:10] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| </ | </ | ||
| - | 1. 시리얼포트 드라이버 설치 | + | 1. 시리얼포트 드라이버(mbedWinSerial_16466.exe) |
| - | 2. 시리얼포트 터미널 프로그램으로 출력 확인 | + | 2. 시리얼포트 터미널 프로그램(teraterm-4.74.zip) |
| http:// | http:// | ||
| + | |||
| + | <code c> | ||
| + | #include " | ||
| + | |||
| + | Serial pc(USBTX, USBRX); | ||
| + | |||
| + | int main() { | ||
| + | int i; | ||
| + | while(1) { | ||
| + | i++; | ||
| + | pc.printf(" | ||
| + | wait(0.5); | ||
| + | } | ||
| + | } | ||
| + | |||
| + | </ | ||
mbed에서_serialport_사용하기.1345668290.txt.gz · Last modified: 2018/07/18 14:09 (external edit)