资 源 简 介
程序能够实现将十二位的二进制数5V对应fffH变换成一路0~5V的电压。
精度方面:在使用时上下波动范围大约是0~2fH能保证高位寄存器准确;
调试过程中遇到了一系列问题:(1)p0口的使用需接上拉电阻,内部没有带电阻;(2)调试的过程最好使用单步运行,以便于察看寄存器的内容;(3)对系统板不熟悉,一些硬件方面容易出问题,像口连接,电源、地的连接。(4)直流电源使用不准确,内部的各个电源输出是独立的,需要共地。
-procedures to achieve 12 to a binary number 5V counterparts fffH transform all the way into the 0- 5V voltage. Accuracy : the use of fluctuating ranges of 0 ~ 2fH can guarantee accurate high register; debugging process encountered a series of questions : (1) p0 I need to connect to the widening use of resistance, with no internal resistance; (2) the process of commissioning the best use of single-step operation, in order to inspect the contents of Register; (3) The right not familiar with the system board, Some hardware problems are likely to occur, such as connectors, power, and connectivity. (4) DC power supply use of inaccurate, all within the Power output is independent, to the total needs.