|
serial port. returns 0 on success and -1 on failure.
// 기존에 존재하던 sendword function을 1 byte만 전송하도록 수정하였다.
int sendword(unsigned char c){
unsigned long numBytes = 1;
// PurgeComm(hCom1, PURGE_RXCLEAR);
// FlushFileBuffers(hCom1);
// printf(\"Entering sendByte with parameter = %c\\n
|
- 페이지 12페이지
- 가격 2,300원
- 등록일 2008.02.27
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
Port : 바코드 출력기 Port 번호 (자료형 : SHORT)
snPrintCnt : 바코드 출력 데이터 출력 횟수 (자료형 : SHORT)
2) 폴더명 Server : 바코드 출력용 Server 소켓 프로그램(Exe 형식)
- 설명
(1) Socket 통신으로 바코드 출력 데이터 전송 받음.
(2) Serial 통신(CO
|
- 페이지 46페이지
- 가격 1,500원
- 등록일 2015.06.04
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
마이크로컴퓨터 레포트
< 7 >
학과
전자정보계열
학번
1******
이름
백 * *
교수명
강 * *
작성일
06.14.일
목 차
p.3~p.4
p.5
p.6~p.8
p.9
p.10
1. Define the \"Serial & Parallel Port\".
● 컴퓨터 시스템의 구조
- 컴퓨터 시스템의 구조에는 CPU, MEMORY 시스템, I/O P
|
- 페이지 10페이지
- 가격 1,000원
- 등록일 2021.02.09
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
serial port.
// returns 0 on success, -1 on failure or timeout.
int readword(unsigned char *ptr){
unsigned long numread=0;
ReadFile(hCom1, ptr, 1, &numread, NULL);
if (numread != 2)
return -1;
return 0;
}
void delay(clock_t sleep) // Delay 부분
{
clock_t cur = clock(), el;
for(;;){ // 무한루프
|
- 페이지 11페이지
- 가격 2,300원
- 등록일 2008.02.27
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
?
Answer: Polling can be more efficient than interrupt-driven I/O. This is the case when the I/O is frequent and of short duration. Even though a single serial port will perform I/O relatively infrequently and should thus use interrupts, a collection of serial ports such as those in a terminal conce
|
- 페이지 42페이지
- 가격 1,000원
- 등록일 2006.10.21
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|