电子课程设计---八路彩灯循环显示(编辑修改稿)内容摘要:

p1:process(cp,clr) begin 6 if clr=39。 139。 then s= 000000。 ledd=s(1)。 elsif cp39。 event and cp=39。 139。 then if s=100010 then s=s+1。 else s=000000。 end if。 end if。 ledd=s(1)。 if s= 000000 then s1=10000000。 elsif s= 000001 then s1=01000000。 elsif s= 000010 then s1=00100000。 elsif s= 000011 then s1=00010000。 elsif s= 000100 then s1=00001000。 elsif s= 000101 then s1=00000100。 elsif s= 000110 then s1=00000010。 elsif s= 000111 then s1=00000001。 elsif s= 001000 then s1=00000010。 elsif s= 001001 then s1=00000100。 elsif s= 001010 then s1=00001000。 elsif s= 001011 then s1=00010000。 elsif s= 001100 then s1=00100000。 elsif s= 001101 then s1=01000000。 elsif s= 001110 then s1=10000000。 elsif s= 001111 then s1=00011000。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。