EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Replies / include#include in

include#include in

|

Microcontroller › AVR › how to control room lights via pc and microcontroller › include#include in

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

RSS Recent Posts

  • Phone charger fix March 12, 2026
  • Very Curious Issue With DS3231 RTC Clock March 12, 2026
  • Summing inverting amplifier query March 12, 2026
  • Troubleshoot Wine Enthusiast Model 272 03 12 01 control board FX-108-1 March 12, 2026
  • Motor Getting Hot March 12, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise