Re: [Lazarus] Where is hwiringPi?

2015-09-19 Thread Donald Ziesig
On 09/18/2015 08:34 PM, Donald Ziesig wrote: On 09/18/2015 07:50 PM, Bo Berglund wrote: On Sat, 19 Sep 2015 01:21:25 +0300, Maxim Ganetsky wrote: 19.09.2015 1:10, Donald Ziesig ?: Hi All! It looks like this is Raspberry PI day :-) . I have Lazarus working on a RPi 2 B

Re: [Lazarus] Where is hwiringPi?

2015-09-19 Thread Marc Santhoff
On Fr, 2015-09-18 at 18:50 -0500, Bo Berglund wrote: > The hiwiringpi.pas file is an interface to something else written in C > if I understood the text correctly. > How does that work? It seems like I have to compile something in C on > the Pi as well and it produces an *.o file. Does that act

Re: [Lazarus] Where is hwiringPi?

2015-09-19 Thread Marc Santhoff
On Sa, 2015-09-19 at 18:53 +0200, Marc Santhoff wrote: > On Fr, 2015-09-18 at 18:50 -0500, Bo Berglund wrote: > > The hiwiringpi.pas file is an interface to something else written in C > > if I understood the text correctly. > > How does that work? It seems like I have to compile something in C on

Re: [Lazarus] Where is hwiringPi?

2015-09-18 Thread Bo Berglund
On Sat, 19 Sep 2015 01:21:25 +0300, Maxim Ganetsky wrote: >19.09.2015 1:10, Donald Ziesig ?: >> Hi All! >> >> It looks like this is Raspberry PI day :-) . >> >> I have Lazarus working on a RPi 2 B with no problems til now. >> >> (Started with monitor, keyboard and mouse till

Re: [Lazarus] Where is hwiringPi?

2015-09-18 Thread Graeme Geldenhuys
On 2015-09-18 at 18:50, Bo Berglund wrote: > The hiwiringpi.pas file is an interface to something else written in C > if I understood the text correctly. As far as I know there is another pure Object Pascal GPIO package which has no other dependencies. Maybe that would be a better option than

Re: [Lazarus] Where is hwiringPi?

2015-09-18 Thread Donald Ziesig
On 09/18/2015 07:50 PM, Bo Berglund wrote: On Sat, 19 Sep 2015 01:21:25 +0300, Maxim Ganetsky wrote: 19.09.2015 1:10, Donald Ziesig ?: Hi All! It looks like this is Raspberry PI day :-) . I have Lazarus working on a RPi 2 B with no problems til now. (Started with

Re: [Lazarus] Where is hwiringPi?

2015-09-18 Thread Dennis
I have written a small program using FPC to run on Rasp Pi to connect, via i2c, to a temperature/humidity sensor and save the readings into a MySQL database. Initially, I tried to use wiringPi, but I later found out it was very simple to directly connect to i2c via fpRead() . It was as simple

Re: [Lazarus] Where is hwiringPi?

2015-09-18 Thread Maxim Ganetsky
19.09.2015 1:10, Donald Ziesig пишет: Hi All! It looks like this is Raspberry PI day :-) . I have Lazarus working on a RPi 2 B with no problems til now. (Started with monitor, keyboard and mouse till I got ssh and vnc setup, then switched to Remmina on my laptop via tcp/ip). I need to access

Re: [Lazarus] Where is hwiringPi?

2015-09-18 Thread Maxim Ganetsky
19.09.2015 1:39, Donald Ziesig пишет: On 09/18/2015 06:21 PM, Maxim Ganetsky wrote: 19.09.2015 1:10, Donald Ziesig пишет: Hi All! It looks like this is Raspberry PI day :-) . I have Lazarus working on a RPi 2 B with no problems til now. (Started with monitor, keyboard and mouse till I got

Re: [Lazarus] Where is hwiringPi?

2015-09-18 Thread Donald Ziesig
On 09/18/2015 06:21 PM, Maxim Ganetsky wrote: 19.09.2015 1:10, Donald Ziesig пишет: Hi All! It looks like this is Raspberry PI day :-) . I have Lazarus working on a RPi 2 B with no problems til now. (Started with monitor, keyboard and mouse till I got ssh and vnc setup, then switched to