On 2006-07-29, Timothy Smith <[EMAIL PROTECTED]> wrote:
>> I'd particularly recommend taking a look at the pyparallel
>> module found here:
> yes, i did try pyparallel however it will not install on
> freebsd, setup.py errors.
Ah. I guess freebsd wasn't one of the systems listed on the
pyparalle
"Timothy Smith" <[EMAIL PROTECTED]> wrote:
| Grant Edwards wrote:
| > On 2006-07-28, Timothy Smith <[EMAIL PROTECTED]> wrote:
| >
| >
| >> i've been trying to send an 8 byte string to my parallel port
| >> under freebsd. the purpose is it to control a relay board. the
| >> board simply responds t
Diez B. Roggisch wrote:
>> *sigh*
>> if only pyparallel would install
>>
>
> *sigh* If only you said _what_ failed we could maybe help you make it
> work... :)
>
> Diez
>
titan# python setup.py install
running install
running build
running build_py
Traceback (most recent call last):
File
> *sigh*
> if only pyparallel would install
*sigh* If only you said _what_ failed we could maybe help you make it
work... :)
Diez
--
http://mail.python.org/mailman/listinfo/python-list
Diez B. Roggisch wrote:
>> >>> fd = open('/dev/ppi0','w')
>> >>> fcntl.ioctl(fd.fileno(),'PPISCTRL',1000)
>> Traceback (most recent call last):
>> File "", line 1, in ?
>> TypeError: an integer is required
>>
>> i guess i'm failing to properly define the int i need for the 8byte
>> value in
>
> >>> fd = open('/dev/ppi0','w')
> >>> fcntl.ioctl(fd.fileno(),'PPISCTRL',1000)
> Traceback (most recent call last):
> File "", line 1, in ?
> TypeError: an integer is required
>
> i guess i'm failing to properly define the int i need for the 8byte
> value ineed to send the port to set
Dennis Lee Bieber wrote:
> On Sat, 29 Jul 2006 13:59:02 +1000, Timothy Smith
> <[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
>
>
>> and yes i've done quite a bit of googling, i never expected it to be
>> this difficult. i've done work with serial ports before. never parallel
Grant Edwards wrote:
> On 2006-07-29, Grant Edwards <[EMAIL PROTECTED]> wrote:
>
>
>> I'd particularly recommend taking a look at the pyparallel
>> module found here:
>>
>> http://pyserial.sourceforge.net/
>>
>
> Oops, there isn't actually a link to pyparallel from that page
> (I swear th
Grant Edwards wrote:
> On 2006-07-28, Timothy Smith <[EMAIL PROTECTED]> wrote:
>
>
>> i've been trying to send an 8 byte string to my parallel port
>> under freebsd. the purpose is it to control a relay board. the
>> board simply responds to the output byte coming from the port.
>> eg. 0001
On 2006-07-29, Grant Edwards <[EMAIL PROTECTED]> wrote:
> I'd particularly recommend taking a look at the pyparallel
> module found here:
>
> http://pyserial.sourceforge.net/
Oops, there isn't actually a link to pyparallel from that page
(I swear there used to be). Here's the pyparallel page:
On 2006-07-28, Timothy Smith <[EMAIL PROTECTED]> wrote:
> i've been trying to send an 8 byte string to my parallel port
> under freebsd. the purpose is it to control a relay board. the
> board simply responds to the output byte coming from the port.
> eg. 0001 will set pin 1 high and flick th
hello people.
i've been trying to send an 8 byte string to my parallel port under
freebsd. the purpose is it to control a relay board.
the board simply responds to the output byte coming from the port. eg.
0001 will set pin 1 high and flick the relay open.
todate i've attempted this with mer
12 matches
Mail list logo