TI-H: Re: Using the parallel port for I2C communications?


[Prev][Next][Index][Thread]

TI-H: Re: Using the parallel port for I2C communications?



In order to use the joystick port to read a temp sensor, it appears
that all I have to do is attach a thermistor to pins 1 and 3 (X pos of
joystick A), and write a value to port 201h, then wait for bit 0 of the
status byte to return to 0.  The time interval determines the resistance
according to the formula:
 
R = (T - 24.2)/.001
 
Piece of cake, anybody done it before?
 
DK

Follow-Ups: