[Lazarus] Raspberry Pi Debug Digital I/O

Koenraad Lelong lazarus2 at de-brouwerij.be
Mon Jan 25 14:19:05 CET 2016


Op 25-01-16 om 09:40 schreef Koenraad Lelong:
> First : I'm using pascalio, on a Pi2 model B.
>
> Just modified bcm2708.pas :
>    GPIO_BASE = (BCM2708_PERI_BASE + $003F0000); // GPIO controller
> and
>    mem_fd := FpOpen('/dev/gpiomem', O_RDWR OR O_SYNC);
>
> Now I can run my app as user 'pi'.
>
> Thanks.

Forget this. I don't know what I did, but this seems not to work 
anymore. Looking at the sources of pascalio, it should not have worked 
anyway.

Koenraad.





More information about the Lazarus mailing list