??? 09/25/11 00:39 Read: times |
#183863 - You are right Responding to: ???'s previous message |
Erik Malund said:
the code above is a typical illustration of the fact that
if you can not make the code yourself, downloaded code is worthless. Stefan Kanev post a piece of code that very well may work for him Maunik Choksi post a piece of code that very well may work for him now someone with no understanding download either and post "the code does not work" looking at the code and thinking a bit should easily lead you to the answer. Erik Hi Erik: If I had no back ground at all in 8051 this code would be completely useless to me. But I have enough back ground that by these two gentlemen give me this example that I would then be able to write the source code for 50 Hz or 200 Hz or 1Khz. As working with 8051 mcu or 89c2051 is my hobby. I understand 90% of code that was given to me but 10% I don't understand I would try use these books to help me understand it. I have these 3 text that I tryed to learn over last few years. The 8051 Microcontroller and Embedded Systems by Muhammed Ali Mazidi. The 8051 Microcontroller Second ED. I Scott MacKenzie and Last book purchased was The 8051/8052 Microcontroller Architecture Assembly Language and Hardware Interfacing by Craig Steiner. I have simulator from small self teaching course that took. I don't even want to learn C as I am to old to start learning this plus assembler. Just by taking course does not make you good programmer. I though using 89c2051 to make transistor tester using 2 Hz signal would be easy. As see from the way the two programmers wrote the code it is not simple. When I use CD4000 series chips or 741 Op Amp. I always know how finish the project I am working on. This is not the case when using a microcontroller. Since I am not 20 or 30 year old I am not trying get free code. All I wanted was example I could use to understand the isr with ticks which could not find example in any of my books. Most time I can read assembler in 8051 but I can not always wright it. So am very greatful for Stefan Kanev and Maynik Choksi help. Best regards, Ralph Sac |