Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9172211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:17:30+00:00 2026-06-17T16:17:30+00:00

I have a machine (instrument) that can read hexadecimal numbers separately from 8 pins

  • 0

I have a machine (instrument) that can read hexadecimal numbers separately from 8 pins in Serial Port or Printer.

I want to send hexadecimal data from a C Program running on a computer into this machine. The computer and machine are connected via the printer port.

Please let me know how can I send my data from each pin separately.

Thanks in Advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T16:17:31+00:00Added an answer on June 17, 2026 at 4:17 pm

    First, Some clarification:

    Serial communication is a protocol that uses all (most) of the pins. Some pins are used for synchronising the two communication chips. But the actual data is sent out of ONE DATA PIN, one BIT at a time.

    Parallel communication on the other hand is a protocol that uses 8 DATA PINS to simultaneously communicate one BYTE at a time. Printer ports are usually parallel ports.

    Depends on OS:

    How you send data from a program via either of these ports depends on your operating system.

    It’s easier on Linux than on Windows.

    For Windows, it’s a bit more complicated, because Windows puts restrictions on port access in user mode (i.e. by user programs).

    For Parallel Port on Windows:

    However, for Windows I have successfully driven LEDs off the parallel port using the io.dll provided here on Geek Hideout. The io.dll package contains a .dll and a .h header file documenting the functions which your C program can use.

    For Serial Port on Linux:

    See the code from this answer and this Serial HOWTO (for Linux)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Unfortunatly i don't have a machine that I can test IE9 on yet (still
I have a machine control system in Python that currently looks roughly like this
I have a machine that is running Ubuntu Hardy, which provides its own RubyGems
I have a machine in a remote location that contains an SD card slot
I have virtual machine that has windows 7 + visual studio 2010 setup, and
Does the C# language localize for people that have their machine's set to some
I have machine with an installed tomcat 5.5 it serves various application from the
I have a machine that does not have the syslog in the usual place.
I have a machine that periodically BSOD's. I have full memory dumps configured. Sometimes,
Possible Duplicate: datetime.datetime.strptime not present in Python 2.4.1 I have a machine that has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.