User Tools

Site Tools


mbed에서_serialport_사용하기

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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