【资源下载】下载地址如下:
https://docs.qq.com/doc/DTlRSd01BZXNpRUxl
#include <reg52.H> #include <stdio.H> #include "lcd1602.h" #include "adc0832.h" #include "adc08321.h" #include "dac0832.h" #include "uart.h" #define uchar unsigned char #define uint unsigned int uchar LcdBuf[20]; /**********************接线说明*********************************************** 1. ******************************************************************************/ uint Vol[4]; void main() { LCD1602_Init(); Displaystr(0,0,"Initing"); UartInit(); while(1) { Vol[0]=read0832(0); Vol[1]=read0832(1); Vol[2]=read08321(0); Vol[3]=read08321(1); Dac0832(0,Vol[0]); Dac0832(1,Vol[1]); 点击并拖拽以移动