??? 02/12/05 01:18 Read: times |
#87184 - Serial is a must! Responding to: ???'s previous message |
Hi Eric,
You are missing the point. It is not the size of the MPX unit that is the problem, it is the size of the display. NO LED on time is lost using sertial. The new timer ISR responsible for refresh task and HC595 upload is this: timer0_isr: inc 5x32 value(a static value) if (5x32 value==32) 5x32 value=0 mov dptr,ram_addr.(a global value) loop: movx a,@dptr inc dptr mov Pz,a ;serial data setb Px.y ;serial clock clr Px.y goto loop 32 times off ;turn off the display mov py,5x32 value ;put new value (enabling next column) setb px.w ;strobe clr px.w on ;turn on the display reti Best. |