Page 1 of 1

PiControl porting to Lazarus/Delphi available?

Posted: 05 Oct 2021, 01:15
by garysn
Hi all,

I'm planning to use the RevPi together with PiControl, but not in C but in Lazarus/Delphi.
Does anyone know if there is a Lazarus or Delphi porting available?

Thanks for your help
garysn

Re: PiControl porting to Lazarus/Delphi available?

Posted: 05 Oct 2021, 15:04
by nicolaiB
Hi garysn,

there is no Delphi library as far as I know, but you can probably access the process image directly via /dev/piControl.

For some examples have a look into the article about using with C:
https://revolutionpi.com/picontrol/?noredirect=en_US

Using ioctl with lazarus:
https://www.freepascal.org/docs-html/rt ... ioctl.html

BR Nicolai