SPI on PCs parallel port
Hi I have Visual C++ 6.0, but have only wrote some simple code
examples from a beginner's book.
I would like to read an SPI device but using my PCs Parallel port.
I just need to send out an 8-bit word and simultaneously read back in
an 8-bit word.
I can simply repeat for multiple words.
It can be as simple as a window that I can enter the hex or binary (or
decimal) number to be sent out and another window for the returned
data.
Then just a button to start the transfer.
Does anyone have something like this?
Or do they know of anything similar?
I have searched the web and the closest that I could find was very
complex and difficult for a beginner to modify. 3 3033
bob wrote: SPI on PCs parallel port Hi I have Visual C++ 6.0, but have only wrote some simple code examples from a beginner's book. I would like to read an SPI device but using my PCs Parallel port.
Controlling hardware (reading the parallel port is included) is not
defined in C++ language. You need to post your question to a newsgroup
for your OS or your compiler, since that functionality is OS-specific
and libraries are probably compiler-specific as well.
V
os = windows 98 or xp
compiles = Microsoft Visual C++ 6.0
I looked for a better newsgroop but domt see a spacific one.
Do you have a group recomendation?
On Tue, 01 Mar 2005 10:14:11 -0500, Victor Bazarov
<v.********@comAcast.net> wrote: bob wrote: SPI on PCs parallel port Hi I have Visual C++ 6.0, but have only wrote some simple code examples from a beginner's book. I would like to read an SPI device but using my PCs Parallel port.
Controlling hardware (reading the parallel port is included) is not defined in C++ language. You need to post your question to a newsgroup for your OS or your compiler, since that functionality is OS-specific and libraries are probably compiler-specific as well.
V
bob wrote: os = windows 98 or xp compiles = Microsoft Visual C++ 6.0 I looked for a better newsgroop but domt see a spacific one. Do you have a group recomendation?
I have several recommendations, of which the first one is not to top-post.
There are several newsgroups I consider relevant. Let's begin with
microsoft.public.vc.language, that's for the compiler-specific stuff.
Next, comp.os.ms-windows.programmer.win32, that's for OS-specific. Also,
take a look at http://www.parashift.com/c++-faq-lite/, which is the
de-facto FAQ for this newsgroup, it should help you find your answers
without posting (and waiting associated with it).
If your newsserver does not carry microsoft.public.* hierarchy, connect
to 'msnews.microsoft.com', it's free, and look around there.
V On Tue, 01 Mar 2005 10:14:11 -0500, Victor Bazarov <v.********@comAcast.net> wrote:
bob wrote:
SPI on PCs parallel port Hi I have Visual C++ 6.0, but have only wrote some simple code examples from a beginner's book. I would like to read an SPI device but using my PCs Parallel port.
Controlling hardware (reading the parallel port is included) is not defined in C++ language. You need to post your question to a newsgroup for your OS or your compiler, since that functionality is OS-specific and libraries are probably compiler-specific as well.
V This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Novice Experl |
last post by:
I'd like to write a simple application that interfaces with the parallel port, and changes the data on it according to keyboard input. I hope I can get it to run under windows xp and / or windows...
|
by: MNQ |
last post by:
Hi All
I want to use my parallel port of my PC to control some external devices. I
am writing a program in ANSI C using the PacificC compiler. What I need to
know is how to access the parallel...
|
by: karan |
last post by:
I would like to know how one can use the parallel port through
c/c++.Also, how does one determine what port is
installed(EPP/ECP/SSP/PS2)?
What is the differnece between these?
What are the...
|
by: Danijel Babic |
last post by:
Hi!
Is there any way to control parallel port from VB.NET. I want to be able to
send or read data from parallel port on Windows XP. Some ActiveX or dll, API
or anything.
Thx!
|
by: Isaac T Alston |
last post by:
Basically, I'm thinking about building a robot which can be controlled by
programs which I write, I'm going to interface to the robot through the
parallel port (like in this tutorial here:...
|
by: david.brown.0 |
last post by:
I'm trying to make a Java program access a parallel port. Java's comm
API does not provide me with the control I need. I need to be able to
write to the data and control pins and read the status...
|
by: Timothy Smith |
last post by:
hello people.
i've been trying to send an 8 byte string to my parallel port under
freebsd. the purpose is it to control a relay board.
the board simply responds to the output byte coming from...
|
by: hari |
last post by:
Hi all,
I need to automate printer command testing, prinetr supports
parallel/
serial/USB.How can i send the commands from python to printer.
I have got pyparallel, as am new to python, no...
|
by: Soren |
last post by:
Hi,
I want to control some motors using the parallel port.. however, my
laptop does not have any parallel ports (very few do). What I do have
is a USB->Parallel converter... I thought about...
|
by: ssndk123 |
last post by:
Hi,
Using the UserPort program that changes permissions in XP so that I am
able to write directly to the parallel port using assembler..
I'm trying to send out square wave pulses for x number...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
| |