Alternative program to make an LED blink at a Raspberry Pi
This is an example, how a class library (Lazarus package) can simplify programming for Raspberry Pi related to the alternatives.
To try the result copy the file LoliBlink to your Raspberry Pi, make it executable, and run it.
To see the source code view the file LoliBlink.lpr.
To edit the source code, open the file LoliBlink.lpi as project in Lazarus.
If you want to compile the source code yourself, you have to add packages to the project. Read the message Window after a compile to see, what is missed. Get the packages here or ask me.