计算机技术与发展2016,Vol.26Issue(7):160-163,4.DOI:10.3969/j.issn.1673-629X.2016.07.034
单片机在C语言串口通信中的应用解析
Analysis of Application of Single Chip Microcomputer in Serial Port Communication of C Language
摘要
Abstract
After analyzing the meaning of Single Chip Microcomputer ( SCM) and the manner of work in serial port communication, combined the problem of poor readability and portability,long programming cycle and difficult debugging for single chip application sys-tem written by assembly language,it advocates to C language as programming language to write single-chip microcomputer application system in this paper and makes SCM to realize the efficient connection in many SCMs by C language,which fully shows the characteris-tics of SCM,such as long service life,fast operation,low noise,and reliable technique. The experiment shows that the program which made in C language is better in readability,transportability and stability. It makes serial port communication more efficient,easy and relia-ble and the characteristics of SCM to get more sufficient play,including low prices,strong stability,good function,and low consumption and so on.关键词
单片机/C语言应用/程序编写/串口通信Key words
single chip microcomputer/application of C language/program writing/serial port communication分类
计算机与自动化引用本文复制引用
孙卫喜..单片机在C语言串口通信中的应用解析[J].计算机技术与发展,2016,26(7):160-163,4.基金项目
2012年陕西省科技计划项目(2012JM8048) (2012JM8048)
陕西省渭南市科技创新扶持资金(2012KYJ-6) (2012KYJ-6)