473,398 Members | 2,120 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

USB programming


Hi all,
I want to get some sample code or good tutorial to program
the USB port.
I just want to use the USB port like I could make with a
serial port or an ethernet port (I think that with USB it
will be the combination of both), just to send and receive
information in an assyncronous way. It's easy!! ;)

Do you know anyway to begin?

Thank you in advance,
Edgar
Nov 16 '05 #1
5 9636
On Wed, 9 Jun 2004 00:22:16 -0700, "EdgarBM"
<an*******@discussions.microsoft.com> wrote:
I want to get some sample code or good tutorial to program
the USB port.
I just want to use the USB port like I could make with a
serial port or an ethernet port (I think that with USB it
will be the combination of both), just to send and receive
information in an assyncronous way. It's easy!! ;)


You can't use it like it's a serial port as whatever is on the
other end must comply with the USB protocol. Have a look at the
datasheet for the PIC16C745, that's something you can use on the other
end. IIRC there is an example of both the host software and device
software on Microchip's website (www.microchip.com). You can get the
chips from www.digi-key.com, but the programmer for the chip will set
you back a bit.
Nov 16 '05 #2
JD
see my answer I gave you in your other thread in which you asked the same
question.

J
"EdgarBM" <an*******@discussions.microsoft.com> wrote in message
news:19*****************************@phx.gbl...

Hi all,
I want to get some sample code or good tutorial to program
the USB port.
I just want to use the USB port like I could make with a
serial port or an ethernet port (I think that with USB it
will be the combination of both), just to send and receive
information in an assyncronous way. It's easy!! ;)

Do you know anyway to begin?

Thank you in advance,
Edgar

Nov 16 '05 #3
It took them 5 years to add the SerialPort class to .NET (will be there in
2.0 Framework, scheduled for 2005 with Whidbey), so for USB I'd say check
back in 2010.

--
Alex Moskalyuk
_____________________________
http://www.techinterviews.com

"EdgarBM" <an*******@discussions.microsoft.com> wrote in message
news:19*****************************@phx.gbl...

Hi all,
I want to get some sample code or good tutorial to program
the USB port.
I just want to use the USB port like I could make with a
serial port or an ethernet port (I think that with USB it
will be the combination of both), just to send and receive
information in an assyncronous way. It's easy!! ;)

Do you know anyway to begin?

Thank you in advance,
Edgar

Nov 16 '05 #4

I've already done...

-----Original Message-----
see my answer I gave you in your other thread in which you asked the samequestion.

J
"EdgarBM" <an*******@discussions.microsoft.com> wrote in messagenews:19*****************************@phx.gbl...

Hi all,
I want to get some sample code or good tutorial to program the USB port.
I just want to use the USB port like I could make with a
serial port or an ethernet port (I think that with USB it will be the combination of both), just to send and receive information in an assyncronous way. It's easy!! ;)

Do you know anyway to begin?

Thank you in advance,
Edgar

.

Nov 16 '05 #5

AAAAAAAAAAAARRRGGGGGGGGGG!!!!!!

....it's absolutely possible.
-----Original Message-----
It took them 5 years to add the SerialPort class to .NET (will be there in2.0 Framework, scheduled for 2005 with Whidbey), so for USB I'd say checkback in 2010.

--
Alex Moskalyuk
_____________________________
http://www.techinterviews.com

"EdgarBM" <an*******@discussions.microsoft.com> wrote in messagenews:19*****************************@phx.gbl...

Hi all,
I want to get some sample code or good tutorial to program the USB port.
I just want to use the USB port like I could make with a
serial port or an ethernet port (I think that with USB it will be the combination of both), just to send and receive information in an assyncronous way. It's easy!! ;)

Do you know anyway to begin?

Thank you in advance,
Edgar

.

Nov 16 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Martin | last post by:
When was inheritance intruduced into object oriented programming? More generally, does anyone know or have any sources on when the different features were introduced into object oriented...
12
by: G. | last post by:
Hi all, During my degree, BEng (Hons) Electronics and Communications Engineering, we did C programming every year, but I never kept it up, as I had no interest and didn't see the point. But now...
3
by: user | last post by:
Hi all, At the outset, I regret having to post this slightly OT post here. However, I strongly feel that people in this group would be the best to advise me on my predicament. I am working as...
134
by: evolnet.regular | last post by:
I've been utilising C for lots of small and a few medium-sized personal projects over the course of the past decade, and I've realised lately just how little progress it's made since then. I've...
7
by: Robert Seacord | last post by:
The CERT/CC has just deployed a new web site dedicated to developing secure coding standards for the C programming language, C++, and eventually other programming language. We have already...
30
by: Jakle | last post by:
I have been googling, but can seem to find out about C GUI libraries. My main platform is Windows, but it would be nice to find a cross platform library. I've been programming with php, which...
47
by: Thierry Chappuis | last post by:
Hi, I'm interested in techniques used to program in an object-oriented way using the C ANSI language. I'm studying the GObject library and Laurent Deniau's OOPC framework published on his web...
111
by: Enteng | last post by:
Hi I'm thinking about learning C as my first programming language. Would you recommend it? Also how do you suggest that I learn it?What books/tutorials should I read for someone like me? Thanks...
14
by: deko | last post by:
For building Windows desktop apps, the clear favorite is C#. But my clients can't afford to buy Microsoft products. So I need to develop software for Linux users and web applications. In the...
17
by: CoreyWhite | last post by:
I bought this book years ago, when I was just learning C++. Since then I've gone through every math course offered at my college, taken courses on coding C & thinking in terms how how to make the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
jinu1996
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.