Any DLL to access USB port ?
Blitz3D Forums/Blitz3D Programming/Any DLL to access USB port ?
| ||
All, having a microcontroller that writes data on a USB port, how can I interface it with B3D or BMax in order to read the data ? Is there any USB DLL wrapper around ? Thanks, Sergio. |
| ||
Not sure how helpful/relevant this is to you withoout knowing what kinda device you're using, but I hope this may be somewhat in the right direction: http://msdn.microsoft.com/en-us/library/windows/hardware/ff540174(v=vs.85).aspx |
| ||
You should be more specific, what micro, running what software? Check if it creates a virtual comm port when connected, in which case use standard serial port commands to do the communication. If it requires a driver on the PC you will typically need a matching SDK to communicate. Last edited 2012 |
| ||
normally, the firmware burned on a microcontroller is based on some "of the shelf" skeleton, so the usb device the microcontroller implements is one of the commonly suported by windows or any OS: HID (Human Interface Device), mass storage etc. If you program the microcontroller to act as a joystick, then you can read it with the joysticks blitz/bmax commands. It all depends on wich usb device is implemented on the microcontroller. (hope you understand me) Juan |
| ||
wouldn't it be nice! |