View Single Post
Old 01-05-15, 02:34 AM   #69
SDMCF
Apprentice EcoRenovator
 
Join Date: Jul 2014
Location: Finland
Posts: 125
Thanks: 5
Thanked 35 Times in 34 Posts
Default

Quote:
Originally Posted by nkuck View Post
// Pins
int SsensorPin = 4; // the pin to read solar panel temperature
int TsensorPin = 5; // the pin to read water tank temperature

...

// initialize the library with the numbers of the interface pins

#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
I am no expert, but this code looks odd to me. It seems you are using pins 4 and 5 for the sensors and for the LCD.
Have I read that correctly?
If so, are you sure you can do that?
Do you really have it wired up that way?
SDMCF is offline   Reply With Quote