Scrysi
Posts: 2
Joined: Sat Oct 24, 2015 3:07 pm

freepascal Unit for GPIO Access

Sat Oct 24, 2015 6:52 pm

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?

ghamm
Posts: 13
Joined: Mon Apr 20, 2015 6:05 pm

Re: freepascal Unit for GPIO Access

Mon Oct 26, 2015 2:26 am

If you get on facebook, look at Free Pascal Raspberry Pi group. I have some libs that I use to do all of that..

Heater
Posts: 18860
Joined: Tue Jul 17, 2012 3:02 pm

Re: freepascal Unit for GPIO Access

Mon Oct 26, 2015 4:00 am

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?
Memory in C++ is a leaky abstraction .

ame
Posts: 4154
Joined: Sat Aug 18, 2012 1:21 am
Location: New Zealand

Re: freepascal Unit for GPIO Access

Mon Oct 26, 2015 4:07 am

It's ok. Nobody uses Pascal these days. Netcraft confirms it.
Hmm. What can I put here?

Heater
Posts: 18860
Joined: Tue Jul 17, 2012 3:02 pm

Re: freepascal Unit for GPIO Access

Mon Oct 26, 2015 5:19 am

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.
Memory in C++ is a leaky abstraction .

User avatar
DougieLawson
Posts: 41958
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: freepascal Unit for GPIO Access

Mon Oct 26, 2015 9:43 am

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?
Languages using left-hand whitespace for syntax are ridiculous

DMs sent on Twitter/LinkedIn will be answered next month.
Fake doctors - are all on my foes list.

The use of crystal balls and mind reading is prohibited.

Scrysi
Posts: 2
Joined: Sat Oct 24, 2015 3:07 pm

Re: freepascal Unit for GPIO Access

Tue Oct 27, 2015 6:05 pm

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

otani
Posts: 75
Joined: Fri Dec 13, 2013 4:18 am

Re: freepascal Unit for GPIO Access

Sat Nov 14, 2015 8:22 am

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

Return to “General discussion”