Hello. I want to learn how to use two or more interrupts at a time. How to code in C in that case? From where will I get more sample codes to understand some serious programming? I am interested in working on 89C2051. Want to use LCD 16X2 with it and few I/O's and 2 interrupts.
There is sample code for interrupt-driven serial IO, and sample code for INT0 - just combine the two! http://www.keil.com/download/docs/intsio.zip.asp http://www.keil.com/download/docs/8051_ex0.zip.asp
Hi Sarang, you'll find an example for the LCD, and a LCD-simulation for the Keil simulator on my homepage http://www.c51.de .
Thanks Mike, but I can't follow the German language. I know there is a lot of great material on that site. Plese help (as an author you only can help me.) reading that. Thanks Andy, that code is really a good lession.
There's LCD tutorials here: http://www.8052.com/tutorial.phtml An app note here: http://www.keil.com/appnotes/docs/apnt_161.asp And tons of examples all over the internet! just put keywords "8051" and "LCD" into your favourite internet search engine!
Thanks for that Andy.