??? 01/18/13 20:46 Modified: 01/18/13 20:48 Read: times Msg Score: +1 +1 Informative |
#189266 - A method I have used for LED signs Responding to: ???'s previous message |
; 12345678901 DESGN1: CLR L1 SETB L2 ; * CLR L3 ; explain why you clear a LED alread cleared SETB L4 ; * * CLR L5 ; explain why you clear a LED alread cleared SETB L6 ; * * * CLR L7 ; explain why you clear a LED alread cleared SETB L8 ; * * * * CLR L9 ; explain why you clear a LED alread cleared SETB L10 ; * * * * * CLR L11 ; explain why you clear a LED alread cleared CALL DELAY ; leave display for a while ; explain why not a global clear ans just the sets CLR L2 ; * * * * SETB L1 ; * * * * * ;; you get the drift 'explain' is telling you about silly code, the rest is comment examples ALSO DO NOT start out with the whole thing SIMPLIFY, start with a simple hardware verifier THEN there is no need to make alternating dispalys till you have one display working Erik PS if your next post is anything else than a simple hardware verifier this will be my last post in this thread |