spyro at f2s.com
Wed Mar 31 00:38:05 PST 2004
On Wed, 31 Mar 2004 13:04:01 +1000
Ryan.Oliver at pha.com.au wrote:
> >> Why not use the gameport, you score 4 A/D's...
> >the gameport has precisely 0 A-Ds.
> So how exactly do you get an 8bit value for each of the 4 axis
> when fed a 0-5V analog input?
its a hack. it counts pulses from an oscillator whose frequency is
controlled by the resistors. after a certain period the pulse count is
read and reset to 0.
the BBC micro with its 'analogue port' actually had lower latency than
the PC gameport.
Spyros lair: http://www.mnementh.co.uk/ |||| Maintainer: arm26 linux
Do not meddle in the affairs of Dragons, for you are tasty and good with
More information about the hlfs-dev