Does PB Support Working with USB?

Everything else that doesn't fall into one of the other PB categories.
swhite
Addict
Addict
Posts: 808
Joined: Thu May 21, 2009 6:56 pm

Does PB Support Working with USB?

Post by swhite »

Hi

I did not find anything the documentation about support for USB. How have people used PB for working with USB?

Simon
Simon White
dCipher Computing
User avatar
Demivec
Addict
Addict
Posts: 4283
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: Does PB Support Working with USB?

Post by Demivec »

swhite wrote:I did not find anything the documentation about support for USB. How have people used PB for working with USB?
When searching, try a term longer than 3 letters (i.e. "device") then search those results for USB. You could then search the results with any additional terms you need.

There have been several methods discussed in the forums, some involving COMate.
User avatar
skywalk
Addict
Addict
Posts: 4318
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Does PB Support Working with USB?

Post by skywalk »

I also agree it is hard to find and would welcome a native USBPort Library :wink:

http://www.purebasic.fr/english/viewtop ... 58#p320558
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: Does PB Support Working with USB?

Post by Vera »

Hi,

small addition to Demivecs tip: searching a three-lettered word could be (halfway) achieved by adding an asterix '*'. In case of USB* you'd get a lot of results ;)

cheers ~ Vera
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Re: Does PB Support Working with USB?

Post by Rescator »

Alternatively if your browser supports OpenSearch then just use the forum search plugin http://www.purebasic.fr/english/viewtop ... 27&t=42061
epidemicz
User
User
Posts: 86
Joined: Thu Jan 22, 2009 8:05 am
Location: USA
Contact:

Re: Does PB Support Working with USB?

Post by epidemicz »

Not to throw the discussion further off the topic but when I search i use google site:forums.purebasic.com [whatever].

Wish I had something to add that was more on topic, but good luck.
Image
User avatar
utopiomania
Addict
Addict
Posts: 1655
Joined: Tue May 10, 2005 10:00 pm
Location: Norway

Re: Does PB Support Working with USB?

Post by utopiomania »

A 'USB port' isn't like a COM port. I think that you must either interface with each device (device driver) that use USB, or if you are thinking of an USB hosted serial port device, then access it as it was a COM port after the driver is installed.

USB port <> COM (serial) port.
Post Reply