【文章內(nèi)容簡介】
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。