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

2017-06-15 Thread James Richters
I have updated my unit for accessing parallel ports on Windows with Freepascal to now select the correct .dll file depending on how the program is compiled. It now uses inpout32.dll if you compile for Win32 inpoutx64.dll if you compile for Win64 I also added a new sample program that can be

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 goes via the network opens possibilities >>though

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 IO

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: http://www.highrez.co.uk/downloads/inpo

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

2016-07-26 Thread ezrashumla
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 -Original Message- From: Bo Berglund To: fpc-pascal Sent: Wed, Jul 27, 2016 1:56 am Subject: Re: [fpc-pascal] Parallel Port Access with Free Pascal

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

2016-07-26 Thread Bo Berglund
On Tue, 26 Jul 2016 16:23:12 -0400, ezrashu...@aim.com wrote: >yes thank you You responded to the wrong post... -- Bo Berglund Developer in Sweden ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailm

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

2016-07-26 Thread ezrashumla
yes thank you -Original Message- From: Bo Berglund To: fpc-pascal Sent: Tue, Jul 26, 2016 10:49 pm Subject: Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows On Tue, 26 Jul 2016 11:45:51 +0200, Koenraad Lelong wrote: >FWIW, I ported the library to fpc, toget

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

2016-07-26 Thread Bo Berglund
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 goes via the network opens possibilities >though. I tested my port on my laptop, connected to the pi. So >appli

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

2016-07-26 Thread Koenraad Lelong
lists.freepascal.org Subject: Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows On Fri, 22 Jul 2016 14:19:20 +, Mark Morgan Lloyd wrote: Or go the whole hog and port the program onto a Raspberry Pi: Bo's doing something like you're asking. Yes, indeed! I now have

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows - PiGpio.zip (1/1)

2016-07-25 Thread Bo Berglund
begin 644 PiGpio.zip M4$L#!!0``@`(`#Q/F4CB2,%-K@L``",F```*4&E'<&EO+G!A<\U9_U/B MR!+_>?DK^JJL.CA920*Z*K=7AP(N=2H4X%GU?C@JD(GF;4A22=!UM_9_?Y^> M228!T=-7WKY'N9#T]/27S_3T]/2N`B^ED7<6>6&[\JU")Z<7UF%SG\Y&@R&- MQ8V7I/$#=6/O3L1ULOTDI(4=T"H1E(:TM`,O6OEV*F@1K2A,;T5,<3[+CH6= M5"HTO?426H2.(/RF(DF%0V'@/]!)

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows - PiGpio.zip (0/1)

2016-07-25 Thread Bo Berglund
On Sun, 24 Jul 2016 10:29:04 -0400, "James Richters" wrote: >Bo, >I also have a raspberry pi project.. I got a hifi-berry card for it and it >is streaming audio to a central audio system, I'm using VLC media player and >an app on my cell phone to control it, I have not made use of the GPIO on

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

2016-07-24 Thread James Richters
ascal] Parallel Port Access with Free Pascal - windows On Fri, 22 Jul 2016 14:19:20 +, Mark Morgan Lloyd wrote: >Or go the whole hog and >port the program onto a Raspberry Pi: Bo's doing something like you're >asking. Yes, indeed! I now have something like 7-8 operational

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

2016-07-23 Thread Bo Berglund
On Fri, 15 Jul 2016 14:59:10 -0700 (MST), Zaaphod wrote: >I am trying to get access to the parallel port with Free Pascal. > >I'm trying to use this version of inpout32 (x64) >http://www.highrez.co.uk/downloads/inpout32/ > >Here's my program: >http://pastebin.com/facf6EFc > >Here's my Unit: >h

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

2016-07-23 Thread Bo Berglund
On Fri, 22 Jul 2016 14:19:20 +, Mark Morgan Lloyd wrote: >Or go the whole hog and >port the program onto a Raspberry Pi: Bo's doing something like you're >asking. Yes, indeed! I now have something like 7-8 operational RPi units for different purposes and in several places I have used the G

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

2016-07-23 Thread James Richters
Santhoff Sent: Saturday, July 23, 2016 1:09 AM To: fpc-pascal@lists.freepascal.org Subject: Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows On Sa, 2016-07-23 at 05:55 +0200, Marc Santhoff wrote: > On Fr, 2016-07-22 at 18:20 -0400, James Richters wrote: > > I'm trying t

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

2016-07-23 Thread James Richters
ascal-boun...@lists.freepascal.org] On Behalf Of Marc Santhoff Sent: Saturday, July 23, 2016 1:09 AM To: fpc-pascal@lists.freepascal.org Subject: Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows On Sa, 2016-07-23 at 05:55 +0200, Marc Santhoff wrote: > On Fr, 2016-07-22 at 18:

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

2016-07-22 Thread Marc Santhoff
On Sa, 2016-07-23 at 05:55 +0200, Marc Santhoff wrote: > On Fr, 2016-07-22 at 18:20 -0400, James Richters wrote: > > I'm trying to avoid custom hardware if possible. I have always used > > parallel ports and never had a problem with them until now. I like the > > idea of a parallel port because

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

2016-07-22 Thread Marc Santhoff
On Fr, 2016-07-22 at 18:20 -0400, James Richters wrote: > I'm trying to avoid custom hardware if possible. I have always used > parallel ports and never had a problem with them until now. I like the > idea of a parallel port because they are still built onto motherboards, and > there are also a

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

2016-07-22 Thread James Richters
I have an update on this. I found a demo program here: http://www.highrez.co.uk/downloads/inpout32/ I was able to successfully run the demo program and access my parallel port. I could write to it and read back what I just wrote accurately. I wrote '123' decimal to it, then tried to read it b

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

2016-07-22 Thread James Richters
l-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Mark Morgan Lloyd Sent: Friday, July 22, 2016 5:39 PM To: fpc-pascal@lists.freepascal.org Subject: Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows James Richters wrote: I was rather rushed

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

2016-07-22 Thread Mark Morgan Lloyd
James Richters wrote: I was rather rushed earlier for reasons that would probably amuse but would be vastly OT (shoving sheep around Sussex since we're shearing Saturday...). I like the looks of that Velleman K8055, that would do the job for me if I can get it to work. I would actually pr

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

2016-07-22 Thread James Richters
x27;s holding me up on a linux port. -Original Message- From: fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Mark Morgan Lloyd Sent: Friday, July 22, 2016 10:19 AM To: fpc-pascal@lists.freepascal.org Subject: Re: [fpc-pascal] Parallel Port Acces

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

2016-07-22 Thread James Richters
ascal@lists.freepascal.org Subject: Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows > > When I try to run it, I get a windows message The application was > unable to > > start correctly (0xc07b). click ok to close the application. > > You could search Microsof

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

2016-07-22 Thread Marc Santhoff
On Do, 2016-07-21 at 05:29 +0200, Marc Santhoff wrote: > On Fr, 2016-07-15 at 14:59 -0700, Zaaphod wrote: > > I am trying to get access to the parallel port with Free Pascal. > > > > I'm trying to use this version of inpout32 (x64) > > http://www.highrez.co.uk/downloads/inpout32/ > > > > Here'

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

2016-07-22 Thread Mark Morgan Lloyd
James Richters wrote: What I need to do is be able to read some 5v TTL Inputs in and write some 5v TTL outputs out. The parallel port always worked when my program was a DOS program.. it was so simple, just do Port[$378]:= data to set the bits on the port or data:=port[$378] to read some bits f

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

2016-07-22 Thread James Richters
--Original Message- From: fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of Marc Santhoff Sent: Wednesday, July 20, 2016 11:29 PM To: fpc-pascal@lists.freepascal.org Subject: Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows O

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

2016-07-21 Thread Marc Santhoff
On Do, 2016-07-21 at 08:39 -0500, Paul Breneman wrote: > You can do *everything* via USB. :) I joked about this several years ago > but then went searching and found USB to ISA slot and USB to PCI slot > adapters. Folks use these to run expensive data acquisition cards. https://www.youtube.com

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

2016-07-21 Thread Paul Breneman
On 07/20/2016 10:29 PM, Marc Santhoff wrote: ... Depending on your needs I'd suggest using a USB-to-serial-Adapter or similar. They are cheap and well supported (e.g. using CP2102). As an alternative FTDI has some nice USB-to-anything (including parallel) chips and they sell modules with mil spac

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

2016-07-20 Thread Marc Santhoff
On Fr, 2016-07-15 at 14:59 -0700, Zaaphod wrote: > I am trying to get access to the parallel port with Free Pascal. > > I'm trying to use this version of inpout32 (x64) > http://www.highrez.co.uk/downloads/inpout32/ > > Here's my program: > http://pastebin.com/facf6EFc > > Here's my Unit: > h

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

2016-07-16 Thread Zaaphod
I am trying to get access to the parallel port with Free Pascal. I'm trying to use this version of inpout32 (x64) http://www.highrez.co.uk/downloads/inpout32/ Here's my program: http://pastebin.com/facf6EFc Here's my Unit: http://pastebin.com/XR0aYUPR When I try to run it, I get a windows me