Welcome![Sign In][Sign Up]
Location:
Search - bioscom

Search list

[Other resourcebioscom

Description: 上位机(386以上PC机)的所有程序是在BORLAND C++环境下编译的,因此串行通信程序可以直接应用I/O通信库函数bioscom(),该函数在由port指定的I/O端口上执行RS-232通信操作。通信前,根据与8098单片机的通信协议,设定通信的串行端口、数据位数、停止位数、波特率,由于上位机时钟为12MHz,所以对应的波特率应设置为4800。下面给出上位机串行通信的部分程序:
Platform: | Size: 3468 | Author: zeng | Hits:

[Embeded Linuxbioscom

Description: 上位机(386以上PC机)的所有程序是在BORLAND C++环境下编译的,因此串行通信程序可以直接应用I/O通信库函数bioscom(),该函数在由port指定的I/O端口上执行RS-232通信操作。通信前,根据与8098单片机的通信协议,设定通信的串行端口、数据位数、停止位数、波特率,由于上位机时钟为12MHz,所以对应的波特率应设置为4800。下面给出上位机串行通信的部分程序:-PC (386 or more PC machine) all the procedures in BORLAND C++ Compiler environment, and therefore serial communication procedure can be applied directly to I/O communications library function bioscom (), the function designated by the port of I/O port on the implementation of RS-232 communication operation. Communication before, in accordance with the 8098 single-chip communication protocols, set the serial port communication, data, median, and stop the median, the baud rate, as the PC clock to 12MHz, so the corresponding baud rate should be set to 4800 . The following is PC serial communication part of the procedure:
Platform: | Size: 3072 | Author: zeng | Hits:

CodeBus www.codebus.net