Page 1 of 1

freepascal Unit for GPIO Access

Posted: Sat Oct 24, 2015 6:52 pm
by Scrysi
Hi,

I'm looking for a native Pascal-Unit to have Access to I/O, S2C, PWM. I'm working with a Rasperry Pi Model B+ (or alternativ with an RPi 2 Model B) and Lazarus. Can anybody help?

Re: freepascal Unit for GPIO Access

Posted: Mon Oct 26, 2015 2:26 am
by ghamm
If you get on facebook, look at Free Pascal Raspberry Pi group. I have some libs that I use to do all of that..

Re: freepascal Unit for GPIO Access

Posted: Mon Oct 26, 2015 4:00 am
by Heater
Wouldn't it be better to put any useful Pascal code for the Pi you want to offer to the world on github or bitbucket or some other public repository so that people do not have to give their souls to Facebook to get it or participate in it's development?

Re: freepascal Unit for GPIO Access

Posted: Mon Oct 26, 2015 4:07 am
by ame
It's ok. Nobody uses Pascal these days. Netcraft confirms it.

Re: freepascal Unit for GPIO Access

Posted: Mon Oct 26, 2015 5:19 am
by Heater
Oddly enough were I work we have a couple of huge and essential apps written in Pascal. They were the result of some university research so what can we expect :)

It's been easy to get it to run on Win, Mac and Linux , which is nice. Other wise it's a pain to have to maintain.

Re: freepascal Unit for GPIO Access

Posted: Mon Oct 26, 2015 9:43 am
by DougieLawson
ghamm wrote:If you get on facebook, look at Free Pascal Raspberry Pi group. I have some libs that I use to do all of that..
Do you have a link to your Facebook group for folks who don't and won't use Facebook?
Is your Facebook group closed to non-members?

Re: freepascal Unit for GPIO Access

Posted: Tue Oct 27, 2015 6:05 pm
by Scrysi
ghamm wrote:If you get on facebook, look at Free Pascal Raspberry Pi group. I have some libs that I use to do all of that..
Hi,
I'm not on Facebook, is there an other way to get such units

Re: freepascal Unit for GPIO Access

Posted: Sat Nov 14, 2015 8:22 am
by otani
It is not so difficult to write register access code using fpmmap.
Please check the following link . This will works on BCM2835 only .
https://github.com/askarel/hsb-scripts/ ... pigpio.pas