??? 12/28/09 07:51 Read: times |
#171966 - Document your code Responding to: ???'s previous message |
How about you start by upgrading your code with some comments.
Then repost the now well-documented code using proper formatting - see the button "Insert Program Code". By the way - any reason why you like your symbols so short that you desperately needs comments just to know what the symbol means? In what way do you think WFW is a good symbol name? Isn't it likely that your lack of comments and proper symbol names makes you stumble on your own code - you see random text but you do not see exactly what the code is doing? Another thing - have you tried to take a pen and paper and hand-step through your code, while documenting the state of the I/O pins of the processor? Does the single-stepping match the logic required the the 74HC165? |