HelloWorld.pde 403 B

1234567891011121314151617181920
  1. //DFRobot.com
  2. //Compatible with the Arduino IDE 1.0
  3. //Library version:1.1
  4. #include <Wire.h>
  5. #include <LiquidCrystal_I2C.h>
  6. LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display
  7. void setup()
  8. {
  9. lcd.init(); // initialize the lcd
  10. // Print a message to the LCD.
  11. lcd.backlight();
  12. lcd.print("Hello, world!");
  13. }
  14. void loop()
  15. {
  16. }