User Tools

Site Tools


mbed에서_serialport_사용하기

<html> <iframe width=“640” height=“360” src=“http://www.youtube.com/embed/GQP7-vYqDQQ?feature=player_detailpage” frameborder=“0” allowfullscreen></iframe> </html>

1. 시리얼포트 드라이버(mbedWinSerial_16466.exe) 설치 2. 시리얼포트 터미널 프로그램(teraterm-4.74.zip) 으로 시리얼 포트 출력 확인

http://okin.cc/~donghee/sw/

#include "mbed.h"
 
Serial pc(USBTX, USBRX);
 
int main() {
	int i;
	while(1) {
		i++;
		pc.printf("%d \t", i);
		wait(0.5);
	}
}
mbed에서_serialport_사용하기.txt · Last modified: 2018/07/18 14:10 by 127.0.0.1