connecting via USB
Community Forums/General Help/connecting via USB
| ||
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 :/ |
| ||
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 |
| ||
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 |
| ||
Maybe this thread helps: http://www.blitzbasic.com/Community/posts.php?topic=60067 Danny |
| ||
Nate: It's in his SVN repository. IIRC it also needs a DLL or something installed for it to work properly under Windows? |