文件名称:mcn_sy4
介绍说明--下载内容均来自于网络,请自行研究使用
(1)通过开关K0合上与断开控制A/D转换的开始和停止,当开始A/D转换后,每秒对连接到PTB3的模拟量采样一次,结果送指示灯D7~D0显示。
(2)采样结果同步通过串行接口发送到PC机(38400bps,N,8,1),显示格式为“The signal is:x.xV”(满量程为5.0V)。
-(1) through the closed switch and disconnect K0 control A/D conversion start and stop, when to start A/D conversion, the second to connect to the analog PTB3 sampling time, the results sent to the indicator light shows that D7 ~ D0. (2) sampling the results of synchronous serial interface is sent to the PC machine (38400bps, N, 8,1), display format for " The signal is: x.xV" (full-scale to 5.0V).
(2)采样结果同步通过串行接口发送到PC机(38400bps,N,8,1),显示格式为“The signal is:x.xV”(满量程为5.0V)。
-(1) through the closed switch and disconnect K0 control A/D conversion start and stop, when to start A/D conversion, the second to connect to the analog PTB3 sampling time, the results sent to the indicator light shows that D7 ~ D0. (2) sampling the results of synchronous serial interface is sent to the PC machine (38400bps, N, 8,1), display format for " The signal is: x.xV" (full-scale to 5.0V).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
mcn_sy4.asm