View Single Post
Old 01-27-2011, 06:42 AM   #611 (permalink)
eimix
EcoModding Lurker
 
Join Date: Aug 2010
Location: Lithuania
Posts: 74
Thanks: 3
Thanked 21 Times in 15 Posts
Code:
#ifdef UseOutsideTemperatureSensor
  #define OutsideTemperaturePin 15 // Inside temperature sensor, on analog 1
#endif

#ifdef UseInsideTemperatureSensor
  #define InsideTemperaturePin 16 // Inside temperature sensor, on analog 2
#endif
And I connected it

Code:
 +5V ---- 2kOhm resistor -----|------ KTY81 ------ GND
                              |
                              |
                              |
                          PIN 16 or 15

  Reply With Quote
The Following User Says Thank You to eimix For This Useful Post:
crysty7 (01-27-2011)