Home | Trees | Indices | Help |
|
---|
|
object --+ | ClassWithParameters --+ | Daq.ChannelParameters --+ | Daq.Functionality --+ | Daq.Input --+ | LPTInput
Instance Methods | |||
|
|||
Inherited from Inherited from Inherited from |
Class Variables | |
Inherited from |
Properties | |
Inherited from |
Method Details |
Get status bits 0-7 of the LPT port. The status bits were not meant for high speed digital input. Nevertheless, for sampling one or two digital inputs at slow rates, they work fine. Bits 4 and 5 (pins 13 and 12, respectively) should be first choice to sample a digital voltage. The other bits have some oddities. Bits 0 and 1 are designated reserved. Others are "active low"; they show a logic 0 when +5v is applied. bit3 = value & 0x08 bit4 = value & 0x10 bit5 = value & 0x20 bit6 = value & 0x40
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Sat Jun 7 09:06:46 2008 | http://epydoc.sourceforge.net |