Hello Friends, I am a new user of 89C51 microcontroller, I am having problem with writing program for external interrupts in C51. I have studied the mannuals of C51 and searched on net but failed to get any idea about it. Please help me in this cotext as I am in desprate need these days. With Best regards, Jahanzeb Rajput
why why why don't you try try try seaching the Keil Knowlwdge Base. They have sample code for nearly every basic function you can think of. For instance in regards to the external interrupts you would have found this link: http://www.keil.com/download/docs/8051_ex0.zip.asp ...if you had searched !! Michael Karas
I am a new user of 89C51 microcontroller Stop what you are doing, read "the bible" and then you will, at least, have an idea what you are doing. Erik here are the links to "the bible" Chapter 1 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_ARCH_1.pdf chapter 2 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_PROG_GUIDE_1.pdf chapter 3 http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_HARDWARE_1.pdf
"I have ... searched on net but failed to get any idea" What - not even from this: http://www.specs.de/users/danni/tutorial/extint/ and the ones Michael's already pointed out?!
I have solved my problem, the the program whose URL you gave was quit helpful for me. Thanks Jahanzeb Rajput