Re: [fpc-pascal] GPIO for pi

2016-07-27 Thread Bo Berglund
On Wed, 27 Jul 2016 21:43:10 +0200, Bo Berglund wrote: >>Do you have these ? I'm running the latest raspbian-image >>(2016-05-27-raspbian-jessie.img). >>You could also download the library from >>http://abyz.co.uk/rpi/pigpio/index.html and compile and install that. >>

Re: [fpc-pascal] GPIO for pi

2016-07-27 Thread Bo Berglund
On Wed, 27 Jul 2016 21:06:26 +0200, Koenraad Lelong wrote: >Op 27-07-16 om 15:52 schreef Bo Berglund: >> Thanks, >> I unpacked the zip in my Projects dir on a Raspberry Pi3 running Raspbian. >> Did nothing else to the files. >> >> Then opened the project in Lazarus 1.6

Re: [fpc-pascal] GPIO for pi

2016-07-27 Thread Koenraad Lelong
Op 27-07-16 om 15:52 schreef Bo Berglund: Thanks, I unpacked the zip in my Projects dir on a Raspberry Pi3 running Raspbian. Did nothing else to the files. Then opened the project in Lazarus 1.6 (with FPC 3.0) and executed a compile command. I received an error message so I repeated it again

[fpc-pascal] Could Not Set Breakpoint - Why not?

2016-07-27 Thread James Richters
I can't seem to set any breakpoints at all with FreePascal 3.0.0 with the text IDE. Does anyone have any idea why this could be? I have even tried to set a breakpoint in a ridiculously simple program like: Program Test; Begin Writeln; End. I am able to single step through my programs

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-27 Thread Bo Berglund
On Tue, 26 Jul 2016 21:48:55 +0200, Bo Berglund wrote: >On Tue, 26 Jul 2016 11:45:51 +0200, Koenraad Lelong > wrote: > >>FWIW, I ported the library to fpc, together with the test/demo software >>(x_pigpiod_if2). >>The fact that the communication

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-27 Thread James Richters
>>FWIW, I ported the library to fpc, together with the test/demo software >>(x_pigpiod_if2). >>The fact that the communication goes via the network opens >>possibilities though. I tested my port on my laptop, connected to the >>pi. So applications running on a remote PC could control the pi's

Re: [fpc-pascal] Microsecond Delay Suggestions?

2016-07-27 Thread James Richters
>Look at synaser, its TBlockSerial class has a RecvTerminated method that does just that. >http://synapse.ararat.cz/doc/help/synaser.TBlockSerial.html#RecvTerminated >https://sourceforge.net/p/synalist/code/HEAD/tree/trunk/ >Bye >-- >Luca Thank you for the suggestion and the links, that does look

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-27 Thread James Richters
>i think it is the ight place i also like to rcv the software for directly >controling i/o ports for fpc on wimdows >Thank you >Ezra Ezra, here’s the link to the FPC files. https://github.com/Zaaphod/FPC-Parallel-Port The InpOut32 driver is here:

Re: [fpc-pascal] x64 compiler and Large Address Aware flag

2016-07-27 Thread Jonas Maebe
OBones wrote on Wed, 27 Jul 2016: I don't see any issue with the command line and the number of files does not seem that high to me. As a workaround, I patched ppcrossx64.exe so that its PE header includes the Large Address Aware flag thus meaning it can now use up to about 3G of RAM

[fpc-pascal] x64 compiler and Large Address Aware flag

2016-07-27 Thread OBones
Hello, We are using FPC (2.6.0) here to allow compiling our users ideas into runable code and while this has worked just fine until now, on one occasion we have reached a situation where the ppcrossx64 compiler ends with an EOutOfMemory exception. Looking at its memory consumption, sure