Sign language with flex sensors

Okay the code is workig in you IDE monitor, you need to change the 80 threshhold to 150.

Try this and see what the IDE monitor shows.

#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
int flexPin1 = A0;
int value1;
void setup() {
  // put your setup code here, to run once:
  lcd.begin(16, 2);
  lcd.setCursor(0, 0);
  lcd.print("Sign Language");
  Serial.begin(9600);
  delay(200);
}

void loop() {
  // put your main code here, to run repeatedly:
  value1 = analogRead(flexPin1);
  Serial.print(value1);
  if (value1 > 150)
  {
    lcd.setCursor(0, 0);
    lcd.print("             ");
    lcd.setCursor(0, 0);
    lcd.print("Foods");
    digitalWrite(6, HIGH);
    Serial.println("   Foods");
    delay(500);
  }
  else
  {
    lcd.setCursor(0, 0);
    lcd.print("             ");
    lcd.setCursor(0, 0);
    lcd.print("Sign Language");
    lcd.clear();
    digitalWrite(6, LOW);
    Serial.println("   Sign Language");
    delay(500);
  }

}

Tom... :slight_smile: