Trying to find FPC solution for GPIO pin setting
Posted: Fri Oct 09, 2015 8:31 pm
I need to pull two relays which will be connected to two GPIO pins.
I need to use FreePascal because I have a pretty big set of ObjectPascal files from Delphi, which contain all needed functionality, except of course the relay pulling stuff is written for Windows...
The hardware is RPi2B with Raspbian Wheezy.
I have read about gpio being a "file" in Raspbian, but I don't understand how to use that.
Could someone here please advice how to set and clear two hardware pins in the Pi2B connector on the Pi2B using FreePascal as the programming language?
I need to use FreePascal because I have a pretty big set of ObjectPascal files from Delphi, which contain all needed functionality, except of course the relay pulling stuff is written for Windows...
The hardware is RPi2B with Raspbian Wheezy.
I have read about gpio being a "file" in Raspbian, but I don't understand how to use that.
Could someone here please advice how to set and clear two hardware pins in the Pi2B connector on the Pi2B using FreePascal as the programming language?