Title Sequential Display of Lights. Author: Amit Kaushik Visitor Submitted Source Code Author Email: amitjbl@rediffmail.com Description: It is a project to glow light in sequential manner or you can connect cameras instead of light to monitoring. The light will ON in the specified time given by you and keeps it repeating until you want. Hits: 3613 Since 25th November, 2003 Code: Select and Copy the Code #include<iostream.h> #include<conio.h> #include<dos.h> main() { clrscr(); int port=0x378; int i,n,j,t; textcolor(14); cout<<"\n "; cprintf(" A PROGRAM FOR MONETRING SYSTEM "); cout<<"\n\n"; cprintf("\nEnter the number of cycles -> "); cin>>n; cprintf("\nEnter the time delay between each display -> "); cin>>t; j=t*100; for(i=1;i<=n;i++) { outportb(port,1); delay(j); outportb(port,2); delay(j); outportb(port,4); delay(j); outportb(port,8); delay(j); outportb(port,16); delay(j); outportb(port,32); delay(j); outportb(port,64); delay(j); outportb(port,128); delay(j); } outportb(port,0); cprintf("\n\nRequest Completed... "); cprintf("\n\n\n\n\n\n\n\n\n Program developed by :"); textcolor(YELLOW+BLINK); cprintf("\n AMIT KAUSHIK"); getch(); }