This program is done in assembly (using the keil UV4 assembly compiler). This program is used let the user press any switch from a port and the pressed switch will lit an Led. So if 3 buttons are pressed, 3 led's are lit.
This program is done in assembly (using the keil UV4 assembly compiler). When the first switch is pressed a sequence of 3 running lights are executed. When the switch is not pressed, the Led's Switch off.
This tutorial demonstrate the inteface between LM35 which is a Temperature sensor (outputs analogue voltage) with the 8051 microcontroller (using the internal ADC). The steps needed and the programs are available in the tutorial too