[fpc-pascal] USB Human Interface Devices

Stefan V. Pantazi svpantazi at gmail.com
Wed Aug 21 21:10:58 CEST 2019



On 8/21/19 8:30 AM, James Richters wrote:
> I FINALLY wrote some data to the LCD!!   YAY !!!   I was trying to get the python application to work.. without any luck.. but I ended up going ahead and trying Zadig changing the driver to 

Persistence pays off. Congrats!

> Also I need to stick a $06 in front of all my packets to send to the device.  I have my data all in arrays,  so I want to do something like this
> Device_Array[0]:=$06;
> Device_Array[1..7] := LCD_Array[0..6] ;

Try Move (https://www.freepascal.org/docs-html/rtl/system/move.html)

Move(LCD_Array[0..6],Device_Array[1],7)





More information about the fpc-pascal mailing list