workshop:uart
This is an old revision of the document!
Table of Contents
UART
컴퓨터와 Uart를 통해서 통신을 해보자. UART 디버깅 할때 유용함.
Python 설치
- Python 2.7.3 http://python.org/download/
- Pyserial Win32 (pyserial-2.5.win32.exe) google에서 pyserial win32 검색
arduino code
pyserial
pyserial을 설치하고, 파이썬 인터프리터에서 다음과 같이 입력해보자. 어떻게 될지 예상해보자.
import_serial_s_serial.serial_dev_ttyusb0_s.write_1_1_s.write_0_1}
python gui button
workshop/uart.1344866742.txt.gz · Last modified: 2018/07/18 14:09 (external edit)