a place for robotic enthusiasts, builders and user groups

#include
LiquidCrystal lcd(10,11,12,13,14,15,16);
int tiltSensorPin = 8;
void setup()
{
Serial.begin( 9600 );
lcd.begin(16, 2);
lcd.clear();
pinMode( tiltSensorPin, INPUT );
}
int tiltReading = 0;
void loop()
{
tiltReading = digitalRead( tiltSensorPin );
lcd.setCursor(0,0);
lcd.print( tiltReading );
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 |