在程序设计时,程序中调用CH375的第一个API函数应为CH375的设备开启函数,Declare Function CH375OpenDevice Lib CH375DLL.DLL (ByVal iIndex As Long) As Long,该函数的功能是打开CH375设备。关闭应用程序时,需调用设备关闭函数,Declare Sub CH375CloseDevice Lib CH375DLL.DLL (ByVal iIndex As Long),该函数的功能是关闭CH375设备。对于PC机向单片机发送数据和接收来自单片机的数据,只需调用相关的API函数即可。