PLAYING WITH PARALLEL PORT (MAKE YOUR OWN GUI WITH TURBO C TO CONTROL YOUR ROBOT
by ujash patel in Circuits > Computers
2122 Views, 10 Favorites, 0 Comments
PLAYING WITH PARALLEL PORT (MAKE YOUR OWN GUI WITH TURBO C TO CONTROL YOUR ROBOT
This instructable is part of my Book playing with parallel port . in this instructable we will going to learn about Turbo c communication with parallel port . lets start ..
part to be required
1.LED (Light Emitting Diode)
2.Jumper wires
3.Bread board
4.Parallel Port
Make Circuit With Parallel Port and Leds
with help of soldering iron. solder Leds on parallel port pins make a pcb circuit as per 2d diagram shown in schematic diagram,
Program for Blink 7 Leds in Sequnce
plug parallel port to pc and run below program in turbo c compiler .
#include <stdio.h>
#include<dos.h>
#include<conio.h>
#include <math.h>
void main()
{
int i;
for(i=0;i<=7;i++)
{
outport(0x378,pow(2,i));
delay(1000);
outport(0x378,0);
delay(500);
}
getch();
Explore More
Make your own Clickable Mouse GUI with Turbo c to Control DC and Stepper motor . Learn to make Motor driven circuit , prototype design with parallel port . Buy Book now Available in Kindle store
What you will learn
1. Development of GUI for controlling 7 led in different sequence.
2. Development of GUI for Controlling Dc motor.
3. Development of GUI for Controlling Stepper motor.
4. Making of Motor driven circuit.
5. Making of prototype to control output device with turbo c and parallel port.