Microcontroller › AVR › how to control room lights via pc and microcontroller › include#include
May 10, 2011 at 6:04 am
#6128
dagakshay
Participant
include
#include<dos.h>
in your hedder file…
function to send value on parallel port
outportb(0x378, <value>);
<value> = is that value what you need to send on parallel port address… is should not be grater than a Byte
ex:
outportb(0x378, 0x80);
0x378 is the prallel port address and 0x80m is the hex value i need to send on parallel port