C Board  

Go Back   C Board > General Programming Boards > C Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 02-14-2005, 04:35 AM   #1
Griffmaster
 
Join Date: Feb 2005
Location: Glasgow, Scotland, UK
Posts: 3
programming the parallel port to control device

hi there i am new to the forum, I am working on being able to write a program in C that will allow me to control the parallel port. The reason for this is that I would like to be able to control a light bulb from the PC, thru a DAC, ADC and breadboard etc. I know that the port is 0x378 which can be set, but is there any other specific details I need to know?

Your advice and suggestions would be much appreciated.

Griffmaster
griffmaster2005 is offline   Reply With Quote
Old 02-14-2005, 05:53 AM   #2
and the hat of vanishing
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,214
Search: Key Word(s): parallel, port
Oh look
How to read/write to parallel port?
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Up to 8Mb PlusNet broadband from only £5.99 a month!
Salem is offline   Reply With Quote
Old 02-14-2005, 07:15 AM   #3
Griffmaster
 
Join Date: Feb 2005
Location: Glasgow, Scotland, UK
Posts: 3
thanks for the link, i will be using windows 95/98 and MS visual studio 6 as compiler. most of the info i have found has been on linux. Just wondering if anyone has ever done this before and what the best way to approach it, have not used C to control hardware, just used it to write some simple programs.

thanks
griffmaster2005 is offline   Reply With Quote
Old 02-14-2005, 07:50 AM   #4
and the hat of vanishing
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,214
So did you do the search yourself, or did you just click on the first link offered to you?

I can only assume that you gave up and posted another reply before you got to the "For Windows 95/98/NT/2000/Me/Xp" part of the first link I posted.
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Up to 8Mb PlusNet broadband from only £5.99 a month!
Salem is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parallel Port I/O in Windows XP - my program crashes when I run it Z'Ha'Dum C Programming 3 02-29-2008 01:29 PM
brace-enclosed error jdc18 C++ Programming 53 05-03-2007 05:49 PM
Segmentation Fault - Trying to access parallel port tvsinesperanto C Programming 3 05-24-2006 03:28 AM
Tab Controls - API -KEN- Windows Programming 7 06-02-2002 09:44 AM
Full control of parallel port? The V. Windows Programming 1 10-28-2001 03:24 PM


All times are GMT -6. The time now is 07:20 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22