I'm not an expert, but a few years ago I made small project to read data from an Arduino through USB port. The project was running on Raspberry Pi, on Windows it can be more tricky( I'm not sure, but I think a device driver is needed):
https://github.com/jsuzineau/pascal_o_r_mapping/tree/master/electronic/Arduino/HeartRate ,  see Arduino_Special_Raspberry_Pi.lpi
It seems I used TLazSerial component.

Le 26/07/2019 à 00:04, James Richters a écrit :

Does Freepascal have support for USB Human Interface devices?   I am attempting to interface to an WHB04B-4 https://www.amazon.com/gp/product/B07M5ZY1P2

I have an example of how to do it that was written in Python, so I’m trying to figure out how to get it to work with my FPC console application.   Figuring out how to interface with the device at all is what is holding me up, I don’t have any experience with direct interfacing to any USB devices.

 

Any suggestions?

 

 

James


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to