由于VREF=2.5V,对于8位的AD而言,只需小数点左移2位即可转化为具体值。
NET "clk" LOC = P55;#系统时钟
net "addata" loc = P30;#TLC549 AD模块
net "adncs" loc = P33;
net "adclk" loc = P32;
NET "yima[7]" LOC = P120;#数码管段选
NET "yima[6]" LOC = P115;
NET "yima[5]" LOC = P117;
NET "yima[4]" LOC = P121;
NET "yima[3]" LOC = P124;
NET "yima[2]" LOC = P118;
NET "yima[1]" LOC = P116;
NET "yima[0]" LOC = P119;
NET "CNT[7]" LOC = P12;#数码管位选
NET "CNT[6]" LOC = P11;
NET "CNT[5]" LOC = P10;
NET "CNT[4]" LOC = P9;
NET "CNT[3]" LOC = P101;
NET "CNT[2]" LOC = P102;
NET "CNT[1]" LOC = P99;
NET "CNT[0]" LOC = P100;
共3条
1/1 1 跳转至页
具备2.5V量程的电压表
共3条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |