??? 09/27/11 21:40 Read: times |
#183923 - Ok then if I Responding to: ???'s previous message |
Stefan Kanev said:
i wrote to show principle. It was not debugged/tested and can contain errors.
I newer assume code is bug-free, some time i'm debugging after 200 lines, some time - after 2 new lines - it depends of many things. I use long names - and i believe long names (for labels and variables) help more than comments to read code , when revision is needed . But this is very individual. regards Hi Stefan: Ok then if I run 2 Hz code on my simmulator and it passes bug free. What are odd's of it working in my 89c2051 microcontroller? So I am quessing if put code in 89c2051 and monitor with frequency counter and reads 2 Hz the code is running correctly?Or I could look at it with logic probe and watch toggle. Is this fair statement or not in this particular case? Best regards, Ralph Sac |