a place for robotic enthusiasts, builders and user groups

#include
LiquidCrystal lcd(10,11,12,13,14,15,16);
int tempSensorPin = 1;
int lightSensorPin = 2;
void setup()
{
Serial.begin( 9600 );
lcd.begin(16, 2);
lcd.clear();
}
int temp = 0;
int light = 0;
void loop()
{
temp = analogRead( tempSensorPin );
light = analogRead( lightSensorPin );
Serial.println( temp );
Serial.println( light );
lcd.setCursor(0,0);
lcd.print( temp);
lcd.setCursor(0,1);
lcd.print( light );
delay(1000);
lcd.clear();
}
Peter Farkas posted a video
Peter Farkas posted a blog post© 2012 Created by Danny.
| Add Videos | Add Photos | Post a Blog | Add Events | Discuss | Form a Group | ||
Sign Up Invite |