Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-24 Thread Bo Berglund
On Sun, 24 Jan 2016 22:02:49 -0500, Donald Ziesig wrote: > >I get exactly this on my pi except there is a line: > >pi:x:1000: > >immediately following the netdev line.. I edited out that because the grep found pi in the wrong place... >wiringPiSetup: Must be root. (did you forget sudo?). > >U

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-24 Thread Bo Berglund
On Mon, 25 Jan 2016 00:18:50 +0100, Marc Santhoff wrote: >> For me it is like this: >> pi@rpi2-jessie2:~/dev $ cat /etc/group | grep gpio >> gpio:x:997:pi > >Thje last one wrong, should have been > >$ ls -lL /sys/class/gpio/gpiochip0 New test: pi@rpi2-jessie2:~/dev $ ls -lL /sys/class/gpio/gpio

Re: [Lazarus] [PATCH] components/turbopower_ipro: added the Iphttpbroker and its example

2016-01-24 Thread silvioprog
On Sat, Jan 23, 2016 at 8:37 AM, Jy V wrote: > Hello Silvio, > > Are you considering to use TurboPower HTTP components to implements HPACK > and HTTP/2 ? > Hello Jy, Yes, it can be easily implemented in TP comps. ASA nghttp2 get a pascal header, BTW with a ng header in hands, you can use this o

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-24 Thread Donald Ziesig
On 01/24/2016 05:47 AM, Bo Berglund wrote: On Fri, 22 Jan 2016 20:55:59 -0500, Donald Ziesig wrote: The application itself must run as root to do digital I/O. If you don't want to debug using the IDE, you don't have to make the IDE run as root, though, just the app. I do not think this is ne

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-24 Thread Marc Santhoff
On Mo, 2016-01-25 at 00:11 +0100, Bo Berglund wrote: > On Sun, 24 Jan 2016 21:42:06 +0100, Marc Santhoff > wrote: > > >What do > > > >$ cat /etc/group | grep gpio > > > >and > > > >$ ls -lL /sys/class/gpio > > > >show? > > For me it is like this: > pi@rpi2-jessie2:~/dev $ cat /etc/group | grep g

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-24 Thread Bo Berglund
On Sun, 24 Jan 2016 21:42:06 +0100, Marc Santhoff wrote: >What do > >$ cat /etc/group | grep gpio > >and > >$ ls -lL /sys/class/gpio > >show? For me it is like this: pi@rpi2-jessie2:~/dev $ cat /etc/group | grep gpio gpio:x:997:pi pi@rpi2-jessie2:~/dev $ ls -lL /sys/class/gpio total 0 -rwxrwx---

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-24 Thread Marc Santhoff
On So, 2016-01-24 at 20:59 +0100, Koenraad Lelong wrote: > When I run the application as 'pi', I get this : > > root@raspberrypi:/home/pi/Documents/lazarus/pascalio/koen-test# ls -l > /sys/class/gpio > totaal 0 > -rwxrwx--- 1 root gpio 4096 jan 22 22:03 export > lrwxrwxrwx 1 root gpio0 jan 2

Re: [Lazarus] Raspberry Pi Debug Digital I/O - PiGpio.zip (0/1)

2016-01-24 Thread Bo Berglund
On Sun, 24 Jan 2016 20:59:40 +0100, Koenraad Lelong wrote: >Op 24-01-16 om 11:47 schreef Bo Berglund: >> On Fri, 22 Jan 2016 20:55:59 -0500, Donald Ziesig >> wrote: >> >>> The application itself must run as root to do digital I/O. If you don't >>> want to debug using the IDE, you don't have to

Re: [Lazarus] Raspberry Pi Debug Digital I/O - PiGpio.zip (1/1)

2016-01-24 Thread Bo Berglund
begin 644 PiGpio.zip M4$L#!!0``@`(`..:*DBT1R3E"@L``%\E```*4&E'<&EO+G!A<\U:;4_; MRA+^W$K]#U,)Z22G*;&=0(&<'IU`$AH52)2$(MT/C9QX#;YU;,MVH+3BO]]G M=NVU"8'"%>7>B`9[9W;>=W9FZ#+P4AIZAY$7MMZ\_OGF->T?'%L[C2TZ'/8' M-!+G7I+&U]2)O4L1U\CVDY#F=D#+1%`:TL(.O&CIVZF@>;2D,+T0,<7Y+CL6 M=O+F-:A.+KR$YJ$C"+]3D:3"H3#P

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-24 Thread Koenraad Lelong
Op 24-01-16 om 11:47 schreef Bo Berglund: On Fri, 22 Jan 2016 20:55:59 -0500, Donald Ziesig wrote: The application itself must run as root to do digital I/O. If you don't want to debug using the IDE, you don't have to make the IDE run as root, though, just the app. I do not think this is ne

Re: [Lazarus] technical knobs components

2016-01-24 Thread hfiandor
Dear Mr. Santhoff: One day, some time ago, I was working in an application to re-edit a fly from the "black box" data, and I have to create a form trying to "copy" the control panel of an IL18. I am sending a copy. Yours, Saludos, Ing. Héctor Fiandor hfian...@ceniai.inf.cu -- ___

Re: [Lazarus] technical knobs components

2016-01-24 Thread Marc Santhoff
On So, 2016-01-24 at 15:29 +0100, Michael Van Canneyt wrote: > > On Sun, 24 Jan 2016, Marc Santhoff wrote: > > > Hi, > > > > can someone give me a hint, if there is a free or cheap component > > library for lazarus implementing operational controls like switches, > > potentiometers and the like f

Re: [Lazarus] technical knobs components

2016-01-24 Thread Michael Van Canneyt
On Sun, 24 Jan 2016, Marc Santhoff wrote: Hi, can someone give me a hint, if there is a free or cheap component library for lazarus implementing operational controls like switches, potentiometers and the like for makin a GUI lok like a physical device? Maybe this can be of use ? http://wik

[Lazarus] technical knobs components

2016-01-24 Thread Marc Santhoff
Hi, can someone give me a hint, if there is a free or cheap component library for lazarus implementing operational controls like switches, potentiometers and the like for makin a GUI lok like a physical device? TIA, Marc -- Marc Santhoff -- ___ La

Re: [Lazarus] Bls: how to modify or add component after Application.Run method?

2016-01-24 Thread Sven Barth
Am 24.01.2016 10:01 schrieb "Mr Bee" : > > No, I can't put them in the Form1's OnCreate event. Because the additional code wouldn't be just from me, but the could be from others as well. I'd like to make the main application into a unit. So, the form should be established on the unit call. The othe

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-24 Thread Bo Berglund
On Fri, 22 Jan 2016 20:55:59 -0500, Donald Ziesig wrote: >The application itself must run as root to do digital I/O. If you don't >want to debug using the IDE, you don't have to make the IDE run as root, >though, just the app. I do not think this is necessary! I am NOT running my RPi2B as an

[Lazarus] Bls: how to modify or add component after Application.Run method?

2016-01-24 Thread Mr Bee
No, I can't put them in the Form1's OnCreate event. Because the additional code wouldn't be just from me, but the could be from others as well. I'd like to make the main application into a unit. So, the form should be established on the unit call. The other would simply use the unit and add or m

Re: [Lazarus] how to modify or add component after Application.Run method?

2016-01-24 Thread Sven Barth
Am 24.01.2016 09:46 schrieb "Mr Bee" : > > Hi, > > Common Lazarus project source code contains this snippet: > > begin > Application.Initialize; > Application.CreateForm(TForm, Form1); > Application.Run; > end. > > Adding code to modify or add components of/into Form1 after the Application.Ru

[Lazarus] how to modify or add component after Application.Run method?

2016-01-24 Thread Mr Bee
Hi, Common Lazarus project source code contains this snippet: begin  Application.Initialize;   Application.CreateForm(TForm, Form1);  Application.Run;end.  Adding code to modify or add components of/into Form1 after the Application.Run method will be ignored because it's out of the application's