Does any body knows,how should i display some digit on seven segment? for example by pressing a push bottom which is connected to "p1.18" port of "lpc2124", digit "1" appears on the seven segment,or by pressing a push bottom connected to "p1.16",digit "2" appers on seven segment.
Well, if you look around you at the number of 7-segment displays that exist in the world today, I think it must be quite obvious that there are, indeed, people who know that. Probably quite a large number of people.
homepages.tesco.net/.../questions-with-yes-or-no-answers.html
Are you asking about the basic electronics of how LEDs work, and how to control them? www.kpsec.freeuk.com/trancirc.htm www.kpsec.freeuk.com/.../led.htm
Or how, specifically, to use the ports of an NXP lpc2124 to control LEDs? www.nxp.com/.../LPC2114_2124.html
Or what??
Note that none of this has anything to do with Keil!
www.8052.com/.../117340
www.8052.com/.../117348
The illustrations of "common anode" and "common cathode" in that last link are broken; see this one instead: www.rlocman.ru/.../~athsam-Circuits-SG_Clock-SG_clock_display_conn.gif
And, of course, for specific information about the lpc2124 and 7-Segments, see: www.lmgtfy.com