摘要
串口通信技术简单成熟,性能可靠,价格低廉,所要求的软硬件开发环境都很低,广泛应用于计算机、自动控制及相关领域。PC机开发图形界面软件现阶段主要使用VC6.0、C++Builder(C++)或者Vistual studio(C#)等开发软件,其中,VC6.0历史悠久,早期使用人数比较多,资料也相对丰富,但只适合比较有经验的开发者。使用C#开发界面,软件上手更快,相比VC来说也更简单,更适合于初学者。针对实际开发过程中使用的两种开发环境,对相应的串口通信所采用的不同的处理方法做了整理归纳,此类方法都经过验证和长期测试,具有很强的实践借鉴意义。
Serial communication technology is simple,mature,reliable and low cost,and the hardware and software development environment required is very low.It is widely used in computers,automatic control and related fields.At this stage,graphical interfaces software such as VC6.0,c + +Builder(c + +) or Vistual studio(c #)are mainly used in the PC development,among them,the VC6.0 has a long history,early users are more,and the data are relatively abundant,but is only suitable for experienced developers.Using c # development interface,the software can be mastered quickly and is easier than VC,so it is better for beginners.In view of the two kinds of development environment in the actual development process,different processing methods adopted by the corresponding serial communication are arranged and summarized.Such methods are validated and long-term tested,and has strong practical significance.
出处
《微处理机》
2017年第5期44-46,共3页
Microprocessors
关键词
串口通信
编程
软件
Serial communication
Programming
Software