USB control of Digital I/O
-
- New User
- Posts: 2
- Joined: Fri Dec 03, 2021 12:56 am
USB control of Digital I/O
Hello, this is my first post. I'm currently using PowerBasic but plan on switching to PureBasic for its 64-bit capability and more. My question concerns USB <--> digital I/O <--> stepper motor drivers and various sensors. Does anyone know of a solution in PureBasic for controlling, say, 32 lines of digital I/O via USB? Or, are there functions or library routines that would facilitate such control? Thanks in advance.
Re: USB control of Digital I/O
Hi, don't know if the HID_Lib library can help? See link in this topic -> https://www.purebasic.fr/english/viewtopic.php?t=42203
Re: USB control of Digital I/O
Or the manufacturer of the device use an own dll.
Then you can import the needed functions.
But for 64bit PB you need also a 64bit dll of the device.
Then you can import the needed functions.
But for 64bit PB you need also a 64bit dll of the device.