TThis site is devoted toward
those Who want
their carrier in computer science and electronics.
As a developer i am working on computer since
Pentium-1 was there in the market.
As you can see above all this effect is created on Macromedia MX .Here from
onwards i will teach you how to connect computer with hardware and let you know
how to make programming on it.First of all i assume that reader know at least
C\C++ or Pascal.If you don't know please go and read it first,then only you can
understand this topic.
Lets start with a simple program in C.Here I give a example how to access your
printer port using C\C++ library .
#include<stdio.h>
#include<dos.h>
#define PORT_ADDRESS 0x378
void main(void)
{
unsigned int Data=0;
Data=255;
outportb(PORT_ADDRESS,Data);
perror("This is a problem from Outportb");
}
If you want to know further update then please keep mailling me at mourya.09@gmail.com.
Now I will teach you how to make a program that can Comtrol Six boat on a meter
table.Just See the figure below
As Shown in the figure. There is six boats ,one ball ,one
wireless controller, one transreceiver and of course two goals. I will Explain
this project briefly. Boats are controlled by wireless controller in it and each
boat contain one receiver, one antenna and two motors .One motor is for pushing
the boat forward and another motor is for giving the direction for each
boat(i.e.propeller).In ball, only a sender antenna is there is for sending its
position to controller.Transreciever is use for detecting the position .Generally
it detect the distance ,but we have to apply the trigonometry for calculating
the coordinates between them.If You don't know the math Then i will suggest you
see the following Web Page from there you can find lots of articles on
trigonometry www.mathwolf.com . Next>>>