Member Since: January 13, 2011

Country: United States



Homebrewing & hobby electronics


  • To get the Serial_LCD_Kit_Clock.pde code to work correctly with Arduino 1.0, replace the ‘setBacklight()’ ‘clearDisplay()’ and ‘setLCDCursor()’ functions with the following:

    void setBacklight(byte brightness)
        lcd.write(0x80);  // send the backlight command
        lcd.write(brightness);  // send the brightness value
    void clearDisplay()
        lcd.write(0xFE);  // send the special command
        lcd.write(0x01);  // send the clear screen command
    void setLCDCursor(byte cursor_position)
        lcd.write(0xFE);  // send the special command
        lcd.write(0x80);  // send the set cursor command
        lcd.write(cursor_position);  // send the cursor position
  • As of Arduino 1.0, NewSoftSerial is an officially supported software serial library. To make the above code work, simply change all NewSoftSerial references to SoftwareSerial.

    Also in Arduino 1.0, the ‘BYTE’ keyword is no longer supported. This change will prevent the Serial_LCD_Kit_Clock.pde code from working correctly.

No public wish lists :(