connecting via USB

Community Forums/General Help/connecting via USB

Nate the Great(Posted 2013) [#1]
I have a basic stamp 2 micro controller and I have been trying to connect it to my computer via usb and then communicate with it via bmax or java. The problem is, I have NO idea how to communicate to a USB via java or bmax, or how to wire the usb connector into the breadboard of my basic stamp properly. Does anyone have any experience with any of these?

edit: I know it comes with a usb connection for uploading programs to it but I read that every time the connection over this usb is opened or closed, it is hard wired to reset the micro controller so its definitely not ideal :/


xlsior(Posted 2013) [#2]
IIRC Brucey (of course) created a library that allows Blitzmax to communicate with USB devices, LibUSB.

http://www.blitzbasic.com/Community/posts.php?topic=82435


Nate the Great(Posted 2013) [#3]
Thanks! that looks like exactly what I need. I wasn't able to find it on his site though. Did he take it off?

Well I ended up finding what I think is a mirror elsewhere. It all compiles correctly but I just get this:

0: 0x0000 - 0x0000



even though I have 3 things currently plugged in and active


Danny(Posted 2013) [#4]
Maybe this thread helps: http://www.blitzbasic.com/Community/posts.php?topic=60067

Danny


xlsior(Posted 2013) [#5]
Nate: It's in his SVN repository.

IIRC it also needs a DLL or something installed for it to work properly under Windows?