By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,168 Members | 1,564 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,168 IT Pros & Developers. It's quick & easy.

SPI on PCs parallel port

P: n/a
bob
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.

Jul 23 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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
Jul 23 '05 #2

P: n/a
bob
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


Jul 23 '05 #3

P: n/a
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

Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.