bobsbeer
Well-Known Member
My Arduino has arrived. http://forum.craftbrewing.org.uk/viewtopic.php?f=12&t=26
Last edited:
Fil said:get to the suppliers web page, and order some free samples
bobsbeer said:if (tempC >25);
{
digitalWrite(ledPin, HIGH );
// I had an else statement here but it didn't like it so deleted it and it seemed to verify it but the led didn't light.
digitalWrite(ledPin, LOW);
}
delay(3000);
}
Does this code look okay and how do I make the circuit for the led? I was thinking the led should be connected to pin 13 and ground. Do I need a resistor in there? 220?
if (tempC >25)
{
digitalWrite(ledPin, HIGH );
}
else
{
digitalWrite(ledPin, LOW);
}
delay(3000);
}
bobsbeer said:I managed to find the Maxim site and register. Hopefully some samples winging their way over. :thumb: Nice one Fil.
Enter your email address to join: