12월, 2015의 게시물 표시

python serial 통신

* http://stackoverflow.com/questions/4040151/python-serial-port * http://pinkwink.kr/566 pyserial 설치 easy_install pyserial 혹은 pip install pyserial serial 통신 import serial ser = serial.Serial('com13', 9600, timeout = 5) # ser = = serial.Serial(13,9600) ser.read(100) d2 = ('\x02' , '\x30', '\x31', '\x35', '\x31', '\x36', '\x36' , '\x32', '\x36' , '\x03', '\x00') ser.write(''.join(d2)) ser.close()

C# PrintWindow 테스트

가려지거나 숨겨진 창을 스크린 캡쳐하는 PrintWindow 테스트 PrintWindow 의 마지막 인자 "0" 을 "1" 로 바꾸면 창의 경계(border)없이 client area 만 캡쳐된다.

python socket client rev test