So here we are, writing our first program for LPC2148. They say blinking LED is “hello world” of Embedded world. So we are going to start with with that.
Now let’s go through simulation in Proteus
first select the ISIS mode
Now add the positive end of led to the port0.3 and negative to the ground. Also we have add +3.3v to Vbat, Vref and v3 and ground to Vss. My final setup look as follows