Forget something during Black Friday/Cyber Monday? Check out the Week of Deals!

Member #152271

Member Since: September 21, 2010

Country: United States

  • If you guys want to display the reading onto an LCD, add the following code to the Arduino example given above:


    LiquidCrystal lcd(7, 8, 9, 10, 11, 12);

    void setup(){ lcd.begin(20,4); // columns, rows. use 20,4 for a 20x4 LCD, etc. lcd.clear(); // start with a blank screen lcd.setCursor(0,0); lcd.print("pH Sensor:"); } void loop() { // place this code under Serial.print(sensorstring); lcd.setCursor(11,0); lcd.print(sensorstring); delay(1000);

       myserial.print("R");                           //will return pH reading


    Good luck :)

No public wish lists :(