Show Posts
Pages: [1]
1  International / Deutsch / Re: LCD library problem, ATmega 168 on: February 29, 2012, 03:39:09 am
Habe Hilfe von dem Lieferanten des Displays bekommen: EXP tech. (http://www.exp-tech.de). Jetz arbeite ich mit der Arduino-Software 0023 und der Sketch läuft ohne Probleme.
2  Using Arduino / Displays / Re: LCD library problem, ATmega 168 on: February 29, 2012, 03:34:23 am
Many thanks for your support. Now I worked with the Arduino-Software 0023 and the sketch runs without any problems.

Helge
3  Using Arduino / Displays / LCD library problem, ATmega 168 on: February 27, 2012, 05:39:22 am
Hello, I like to connect an LCD-Display, type "DFRobot 12C/TWI LCD 1602", with my Arduino ATmega 168. I´ve loaded the library from this link http://www.dfrobot.com/index.php?route=product/product&keyword=DFR0063&category_id=0&description=1&model=1&product_id=135 .

After verifiying the example "Hello world", I´ll get the error-message: "In file included from HelloWorld.cpp:5:
C:\ARDUINO\Arduino ATmega128\Development environment\Windows\arduino-0018\libraries\neu/LiquidCrystal_I2C.h:81: error: conflicting return type specified for 'virtual void LiquidCrystal_I2C::write(uint8_t)'
C:\ARDUINO\Arduino ATmega128\Development environment\Windows\arduino-0018\hardware\arduino\cores\arduino/Print.h:48: error:   overriding 'virtual size_t Print::write(uint8_t)' ".

The little program, I want to use; is this:

//DFRobot.com
//Compatible with the Arduino IDE 1.0
//Library version:1.1
#include <Wire.h>
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27,16,2);  // set the LCD address to 0x27 for a 16 chars and 2 line display

void setup()
{
  lcd.init();                      // initialize the lcd
 
  // Print a message to the LCD.
  lcd.backlight();
  lcd.print("Hello, world!");
}

void loop()
{
}

Please, can somebody help me?
4  International / Deutsch / LCD library problem, ATmega 168 on: February 27, 2012, 05:34:55 am
Hallo, nun in Deutsch und auch mit der Angabe des richtigen Atmega-Typs: Ich möchte gerne das LCD-Display "DFRobot 12C/TWI LCD 1602", mit meinem Arduino ATmega 168 betreiben. Die entsprechende library habe ich von folgendem Link downgeloadet: http://www.dfrobot.com/index.php?route=product/product&keyword=DFR0063&category_id=0&description=1&model=1&product_id=135 .

Nachdem ich das kleine Programm "Hello world" aus der example-Bibliothek verifiziert habe, erhalte ich immer die Fehlermeldung: "In file included from HelloWorld.cpp:5:
C:\ARDUINO\Arduino ATmega128\Development environment\Windows\arduino-0018\libraries\neu/LiquidCrystal_I2C.h:81: error: conflicting return type specified for 'virtual void LiquidCrystal_I2C::write(uint8_t)'
C:\ARDUINO\Arduino ATmega128\Development environment\Windows\arduino-0018\hardware\arduino\cores\arduino/Print.h:48: error:   overriding 'virtual size_t Print::write(uint8_t)' ".

Das Programm "Hello world" sieht folgendermaßen aus:

//DFRobot.com
//Compatible with the Arduino IDE 1.0
//Library version:1.1
#include <Wire.h>
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27,16,2);  // set the LCD address to 0x27 for a 16 chars and 2 line display

void setup()
{
  lcd.init();                      // initialize the lcd
 
  // Print a message to the LCD.
  lcd.backlight();
  lcd.print("Hello, world!");
}

void loop()
{
}

Kann mir bitte jemand helfen?
Pages: [1]