Wednesday, 28 August 2013

Tone Generation using LPC2148....


AIM: Tone generation with Different delay.
THEORY:
Tone generation using digital I/O is simply creating a square wave of appropriate frequency. For this we can use the previous program of LED flashing as the base program. When we flash an LED, we use large delay for LED flashing to be visible. However, the tone frequencies are typically large. So the only modification required is to create separate delay routines with various delay values, typically in the range of 100uSec to 50mSec.

Thursday, 22 August 2013

Basic Image File Formats


Image processing is a broad area. Image is nothing but a combination of pixels. It has various file formats.
      1)     BMP (Bitmap file format)
      2)     JPG (Joint Photographic Expert Group)
      3)     TIF (Tagged Image file format)
      4)     PNG (Portable Network Graphics)
      5)     PPM, PGM, PBM, PNM and PFM
      6)      RAW (Raw Image format)
      7)     GIF (Graphics Interchange Format)

Wednesday, 14 August 2013

Successively off LED and Using AND/OR operation flashing of LED in LPC2148


AIM: 1) Set LED P0.0 to P0.7 first and then successively off it.
            2) Flash LED at P0.1, P0.2, P0.20 and P0.21 using AND/OR operation.

THEORY:
The LED flashing / chasing can be implemented using software delay and port pin handling.
PINSEL, IODIR, IOSET and IOCLR these four registers are very important registers when we consider port I/O operation.

Thursday, 8 August 2013

Chasing LED i.e. (Flash one LED right to left and left to right at P0.0 to P0.7).



AIM: Chasing LED i.e. (Flash one LED right to left and left to right at P0.0 to P0.7).

THEORY:
The LED flashing / chasing can be implemented using software delay and port pin handling.
PINSEL, IODIR, IOSET and IOCLR these four registers are very important registers when we consider port I/O operation.