??? 07/10/06 07:12 Read: times |
#119959 - Strategy Responding to: ???'s previous message |
Rodrigo Navarro said:
Where the "$%@#~ยท%=/ is the problem??
It's 3:00 in the morning. Is the problem in the hardware I built? Is the problem in the software I made? You need to adopt a methodical, structured, scientific approach to debugging: http://www.8052.com/forum/read.phtml?id=118587 So I think that it would be very VERY good to the site and comunity if administrators add a section of TESTING CODES. The trouble with this, as Neil says, is that ready-made test code is only of any use if it's written for preceisely the same hardware - even the tiniest difference means that the code will have to be modified to fit the actual hardware. Even with test software, you need to adopt a methodical approach - you run the test, observe the results - then what? Again, just saying "it didn't work" is no use - you need to think carefully about precisely what did and did not happen, and what could cause that. Then modify your test to eliminate or confirm possibilities. This is why you should be sleeping at 3am, and not trying to debug - debugging needs a clear head! Often a break and fresh start will help, too. Sending a character to PC (If you can see it, your serial comm is well configured)
Flashing Led (If it flashes, your port is well configured) The internet is already awash with such stuff! The problem doesn't seem to be the availability of the code, but the ability of users to apply it, and think about the problem. |
Topic | Author | Date |
IMPORTANT FOR TESTS | 01/01/70 00:00 | |
Establish telephone connection (Voip) | 01/01/70 00:00 | |
We had no internet! | 01/01/70 00:00 | |
More | 01/01/70 00:00 | |
1) just visulaize 2) baloney | 01/01/70 00:00 | |
An old chinese wisdom says... | 01/01/70 00:00 | |
English version | 01/01/70 00:00 | |
I am just waiting for the inevitable | 01/01/70 00:00 | |
lunar lander | 01/01/70 00:00 | |
snippets | 01/01/70 00:00 | |
Good Idea or Not, Not a Job for the Pros | 01/01/70 00:00 | |
The problem with sample code. | 01/01/70 00:00 | |
Strategy | 01/01/70 00:00 | |
think positively | 01/01/70 00:00 | |
Non-trivial | 01/01/70 00:00 | |
who said it is trivial? | 01/01/70 00:00 | |
He said "just".. | 01/01/70 00:00 | |
He never attempted to do it... | 01/01/70 00:00 |