hallo
ik heb deze fout melding

Arduino: 1.5.8 (Mac OS X), Board: "Arduino Uno"

/Applications/Arduino.app/Contents/Resources/Java/libraries/LiquidCrystal/I2CIO.cpp: In member function 'int I2CIO::begin(uint8_t)':
/Applications/Arduino.app/Contents/Resources/Java/libraries/LiquidCrystal/I2CIO.cpp:68:19: error: 'class TwoWire' has no member named 'read'
    _shadow = Wire.read (); // Remove the byte read don't need it.
                   ^
/Applications/Arduino.app/Contents/Resources/Java/libraries/LiquidCrystal/I2CIO.cpp: In member function 'uint8_t I2CIO::read()':
/Applications/Arduino.app/Contents/Resources/Java/libraries/LiquidCrystal/I2CIO.cpp:121:34: error: 'class TwoWire' has no member named 'read'
       retVal = ( _dirMask & Wire.read ( ) );
                                  ^
/Applications/Arduino.app/Contents/Resources/Java/libraries/LiquidCrystal/I2CIO.cpp: In member function 'int I2CIO::write(uint8_t)':
/Applications/Arduino.app/Contents/Resources/Java/libraries/LiquidCrystal/I2CIO.cpp:144:12: error: 'class TwoWire' has no member named 'write'
       Wire.write ( _shadow );
            ^
Fout bij compileren.

  Dit rapport zou meer informatie hebben met
  "Toon uitgebreide uitvoer gedurende compilatie"
  ingeschakeld in Bestand > Voorkeuren.

en dit is de sketch

#include <Wire.h>  // Comes with Arduino IDE
// Get the LCD I2C Library here: 
// https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads
// Move any other LCD libraries to another folder or delete them
// See Library "Docs" folder for possible commands etc.
#include <LiquidCrystal_I2C.h>

/*-----( Declare Constants )-----*/
/*-----( Declare objects )-----*/
// set the LCD address to 0x27 for a 20 chars 4 line display
// Set the pins on the I2C chip used for LCD connections:
//                    addr, en,rw,rs,d4,d5,d6,d7,bl,blpol
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);  // Set the LCD I2C address

/*-----( Declare Variables )-----*/
//NONE

void setup()   /*----( SETUP: RUNS ONCE )----*/
{
  Serial.begin(9600);  // Used to type in characters

  lcd.begin(16,2);   // initialize the lcd for 16 chars 2 lines, turn on backlight

// ------- Quick 3 blinks of backlight  -------------
  for(int i = 0; i< 3; i++)
  {
    lcd.backlight();
    delay(250);
    lcd.noBacklight();
    delay(250);
  }
  lcd.backlight(); // finish with backlight on  

//-------- Write characters on the display ------------------
// NOTE: Cursor Position: (CHAR, LINE) start at 0  
  lcd.setCursor(0,0); //Start at character 4 on line 0
  lcd.print("Hello, world!");
  delay(1000);
  lcd.setCursor(0,1);
  lcd.print("HI!YourDuino.com");
  delay(8000);  

// Wait and then tell user they can start the Serial Monitor and type in characters to
// Display. (Set Serial Monitor option to "No Line Ending")
  lcd.clear();
  lcd.setCursor(0,0); //Start at character 0 on line 0
  lcd.print("Use Serial Mon");
  lcd.setCursor(0,1);
  lcd.print("Type to display");  


}/*--(end setup )---*/


void loop()   /*----( LOOP: RUNS CONSTANTLY )----*/
{
  {
    // when characters arrive over the serial port...
    if (Serial.available()) {
      // wait a bit for the entire message to arrive
      delay(100);
      // clear the screen
      lcd.clear();
      // read all the available characters
      while (Serial.available() > 0) {
        // display each character to the LCD
        lcd.write(Serial.read());
      }
    }
  }

}

de UINt8_t .cpp staat al Aduino.h
en ik heb de library hier vandaan
https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads

wat ik ook doe ik heb de library ook al in de orginele library map geplaats ,niks helpt
ik Heb een MAC
weet niet of dat wat uit maakt
dit display met een i2c printje erop gesoldeerd
http://www.ebay.com/itm/Geeetech-Blue-backlight-LCD-1602-16x2-Characte…

[Bericht gewijzigd door Henry S. op (0%)]

Kunnen we alles niet beter in 1 topic houden?: http://www.circuitsonline.net/forum/view/125907
(nu begint alles weer opnieuw...)

dit is een ander geval hoor:D

Dat mag zijn, maar de foutmeldingen daar waren exact hetzelfde, en dat probleem was toch opgelost?

ik doe van alles andere librarys en op verschillende plaatsen zetten,niks helpt
ik weet het echt niet meer wat ik nu heb is liquidcrystal_I2C.h
en die geeft die melingen
dat vorige sketch was Liquidcrystal.h en dat werkt nu ook .
maar niet die Liquidcrystal_I2C.h
dat is het probleem

volgens mij zit het hier in dit staat er in die I2CIO.cpp

//
// begin
int I2CIO::begin (  uint8_t i2cAddr )
{
   _i2cAddr = i2cAddr;
   
   Wire.begin ( );
      
   _initialised = Wire.requestFrom ( _i2cAddr, (uint8_t)1 );

#if (ARDUINO <  100)
   _shadow = Wire.receive ();
#else
   _shadow = Wire.read (); // Remove the byte read don't need it.
#endif
   
   return ( _initialised );
}

en dit is de fout melding onder andere
In member function 'int I2CIO::begin(uint8_t)':

dit is de hele I2CIO.cpp

// ---------------------------------------------------------------------------
// Created by Francisco Malpartida on 20/08/11.
// Copyright 2011 - Under creative commons license 3.0:
//        Attribution-ShareAlike CC BY-SA
//
// This software is furnished "as is", without technical support, and with no 
// warranty, express or implied, as to its usefulness for any purpose.
//
// Thread Safe: No
// Extendable: Yes
//
// @file I2CIO.h
// This file implements a basic IO library using the PCF8574 I2C IO Expander
// chip.
// 
// @brief 
// Implement a basic IO library to drive the PCF8574* I2C IO Expander ASIC.
// The library implements basic IO general methods to configure IO pin direction
// read and write uint8_t operations and basic pin level routines to set or read
// a particular IO port.
//
//
// @version API 1.0.0
//
// @author F. Malpartida - fmalpartida@gmail.com
// ---------------------------------------------------------------------------
#if (ARDUINO <  100)
#include <WProgram.h>
#else
#include <Arduino.h>
#endif

#include <inttypes.h>

#include <../Wire/Wire.h>
#include "I2CIO.h"

// CLASS VARIABLES
// ---------------------------------------------------------------------------


// CONSTRUCTOR
// ---------------------------------------------------------------------------
I2CIO::I2CIO ( )
{
   _i2cAddr     = 0x0;
   _dirMask     = 0xFF;    // mark all as INPUTs
   _shadow      = 0x0;     // no values set
   _initialised = false;
}

// PUBLIC METHODS
// ---------------------------------------------------------------------------

//
// begin
int I2CIO::begin (  uint8_t i2cAddr )
{
   _i2cAddr = i2cAddr;
   
   Wire.begin ( );
      
   _initialised = Wire.requestFrom ( _i2cAddr, (uint8_t)1 );

#if (ARDUINO <  100)
   _shadow = Wire.receive ();
#else
   _shadow = Wire.read (); // Remove the byte read don't need it.
#endif
   
   return ( _initialised );
}

//
// pinMode
void I2CIO::pinMode ( uint8_t pin, uint8_t dir )
{
   if ( _initialised )
   {
      if ( OUTPUT == dir )
      {
         _dirMask &= ~( 1 << pin );
      }
      else 
      {
         _dirMask |= ( 1 << pin );
      }
   }
}

//
// portMode
void I2CIO::portMode ( uint8_t dir )
{
   
   if ( _initialised )
   {
      if ( dir == INPUT )
      {
         _dirMask = 0xFF;
      }
      else
      {
         _dirMask = 0x00;
      }
   }
}

//
// read
uint8_t I2CIO::read ( void )
{
   uint8_t retVal = 0;
   
   if ( _initialised )
   {
      Wire.requestFrom ( _i2cAddr, (uint8_t)1 );
#if (ARDUINO <  100)
      retVal = ( _dirMask & Wire.receive ( ) );
#else
      retVal = ( _dirMask & Wire.read ( ) );
#endif      
      
   }
   return ( retVal );
}

//
// write
int I2CIO::write ( uint8_t value )
{
   int status = 0;
   
   if ( _initialised )
   {
      // Only write HIGH the values of the ports that have been initialised as
      // outputs updating the output shadow of the device
      _shadow = ( value & ~(_dirMask) );
   
      Wire.beginTransmission ( _i2cAddr );
#if (ARDUINO <  100)
      Wire.send ( _shadow );
#else
      Wire.write ( _shadow );
#endif  
      status = Wire.endTransmission ();
   }
   return ( (status == 0) );
}

//
// digitalRead
uint8_t I2CIO::digitalRead ( uint8_t pin )
{
   uint8_t pinVal = 0;
   
   // Check if initialised and that the pin is within range of the device
   // -------------------------------------------------------------------
   if ( ( _initialised ) && ( pin <= 7 ) )
   {
      // Remove the values which are not inputs and get the value of the pin
      pinVal = this->read() & _dirMask;
      pinVal = ( pinVal >> pin ) & 0x01; // Get the pin value
   }
   return (pinVal);
}

//
// digitalWrite
int I2CIO::digitalWrite ( uint8_t pin, uint8_t level )
{
   uint8_t writeVal;
   int status = 0;
   
   // Check if initialised and that the pin is within range of the device
   // -------------------------------------------------------------------
   if ( ( _initialised ) && ( pin <= 7 ) )
   {
      // Only write to HIGH the port if the port has been configured as
      // an OUTPUT pin. Add the new state of the pin to the shadow
      writeVal = ( 1 << pin ) & ~_dirMask;
      if ( level == HIGH )
      {
         _shadow |= writeVal;
                                                      
      }
      else 
      {
         _shadow &= ~writeVal;
      }
      status = this->write ( _shadow );
   }
   return ( status );
}

//
// PRIVATE METHODS
// ---------------------------------------------------------------------------

[Bericht gewijzigd door Henry S. op (0%)]

ik ben nu zover dat ik minder fouten krijg

Arduino: 1.5.8 (Mac OS X), Board: "Arduino Uno"

sketch_may18a.ino:7:31: fatal error: LiquidCrystal_I2C.h: No such file or directory
compilation terminated.
Fout bij compileren.

  Dit rapport zou meer informatie hebben met
  "Toon uitgebreide uitvoer gedurende compilatie"
  ingeschakeld in Bestand > Voorkeuren.

en dit staat er in de Liquidcrytsal

examples
FastIO.cpp
FastIO.h
I2CIO.cpp
I2CIO.h
keywords.txt
LCD.cpp
LCD.h
library.properties
LiquidCrystal_I2C.cpp
LiquidCrystal_I2C.h
LiquidCrystal_SR.cpp
LiquidCrystal_SR.h
LiquidCrystal_SR2W.cpp
LiquidCrystal_SR2W.h
LiquidCrystal_SR3W.cpp
LiquidCrystal_SR3W.h
LiquidCrystal.cpp
LiquidCrystal.h
src

dus wat is er nu fout ,ik zie het niet????

[Bericht gewijzigd door Henry S. op (0%)]

Alleen ergens neerzetten is volgens mij niet genoeg, je moet er wel melding van maken, anders gaat de compiler niet op zoek.
heb je wire.h wel in het overzicht met libraries staan ?

ja wire staat er ook in de lijst

ik blijf deze melding houden wat ik ook doe

Arduino: 1.5.8 (Mac OS X), Board: "Arduino Uno"

LCD_Met_I2C.ino:6:31: fatal error: LiquidCrystal_I2C.h: No such file or directory
compilation terminated.
Fout bij compileren.

  Dit rapport zou meer informatie hebben met
  "Toon uitgebreide uitvoer gedurende compilatie"
  ingeschakeld in Bestand > Voorkeuren.

de library staat in de mac op
programma's/arduino/contents/Recourses/Java/Libraries

[Bericht gewijzigd door Henry S. op (4%)]

even getest op linux mint machine.
het zelfde probleem .
ziet LiquidCrystal_I2C.h niet

Goed. Je computer "ziet" LiquidCrystal_I2C.h, zie jij het bestand wel? (De meeste computers hebben een "zoek naar bestand" functie ergens zitten).

By the way, je hebt iets kapotter gemaakt dan het was, want hij stopt nu met compileren, voordat ie de foutmeldingen uit je openingspost geeft.

[Bericht gewijzigd door rew op (15%)]

jazoals ik de map opgaf waar die librarie staat zie ik hem wel.
en ik kan hem ook in documenten/arduino/libraries zetten maakt allemaal niks uit
ik heb nu de orginele die erin staat bij installeren van arduino.
vandaar de laatste fout melding,want dat is geen I2C library ,maar liquidCrystal

maar ik wil dus die LiquidCrystal_I2C, aan de praat krijgen
maar ik lees op google dat er meer met het zelfde probleem zitten.

dus mijn conclusie de standaard library staat niet op de goeie plaats ,of is niet goed.
en de library die ik gedownload heb is ook niet goed.
en ik zet ze niet op de goeie plaats????
vreemd allemaal.

sketch_may18a.ino:7:31: fatal error: LiquidCrystal_I2C.h: No such file or directory

Ik gok op "niet de goede plaats" of naam niet goed, vaak is het case sensitive.
Wat staat er op die bewuste regels in die sketch (may18a) ?

ja precies.
maar ik heb zoals aan gegevn op 2 plaaatsen geprobeerd
welke is dan de juiste???
MAC is anders dan windows

Op 18 mei 2015 21:39:08 schreef bertus1945:de library staat in de mac op programma's/arduino/contents/Recourses/Java/Libraries

Dat lijkt mij een heel raar path voor C libraries. Voor Java en de arduino engine zelf, ok, dat kan, maar voor C code ?

ik heb het hier geprobeerd
programma's/arduino/contents/Recourses/Java/Libraries
en hier
documenten/arduino/libraries
en zelfs op beide plaatsen
maar normaal moet het in documenten/arduino/libraries
maar niks ik heb ook al naar de naam gekeken
maar zie het niet.
jammer

Op 18 mei 2015 21:39:08 schreef bertus1945:
de library staat in de mac op
programma's/arduino/contents/Recourses/Java/Libraries

Zorgvuldigheid bij dit soort probleembeschrijvingen is belangrijk. Ik kan me niet voorstellen dat er een map Recourses bestaat. Maar zoals JvdBe ook al zegt lijkt me een Java-directory een vreemde plaats voor een C-library.

Los daarvan zouden niet-standaard libraries in documents/Arduino/libraries moeten staan. Als dat niet werkt klopt er iets aan je installatie niet. Kun je een screenshot maken van je preferences dialog?

#include <LiquidCrystal_I2C.h>

moet dat niet #include "LiquidCrystal_I2C.h" zijn?

Edit
Nee dat is het niet, zou gewoon moeten werken volgens mij. Kun je een van de examples van de New LiquidCrystal library eens proberen?

Als dat niet werkt kun je denk ik beter even helemaal opnieuw beginnen, dus alles opnieuw installeren.

[Bericht gewijzigd door sdk op (56%)]

@sdk
heb het geprobeerd,weer de melding

Arduino: 1.5.8 (Mac OS X), Board: "Arduino Uno"

LCD_Met_I2C.ino:6:31: fatal error: LiquidCrystal_I2C.h: No such file or directory
compilation terminated.
Fout bij compileren.

  Dit rapport zou meer informatie hebben met
  "Toon uitgebreide uitvoer gedurende compilatie"
  ingeschakeld in Bestand > Voorkeuren.

Niet alles door elkaar, je rent als een kip zonder kop en probeert maar wat.

Als je aanhalingstekens gebruikt zoekt hij alleen nog maar in het pad van de source, dat wil je hier niet. Een library hoort op de goede plaats, en met puntige haken in je source geef je aan dat hij moet zoeken in het include-path.

Haal dat preferences window eens tevoorschijn.

dat preference scherm ziet er precies zo uit als van jochem

@sdk
New LiquidCrystal library ????
welke dan?

Okee, dat lijkt goed. Kun je nu een screenshot maken waarin is te zien dat de file LiquidCrystal_I2C.h op de juiste plek staat?

dat had ik toch al eerder geplaatst?

Op 20 mei 2015 11:10:21 schreef bertus1945:
dat had ik toch al eerder geplaatst?

In je andere topic? Ik zie het hier nergens.

Afijn, de .h-file staat dus niet in Documents/Arduino/Libraries, maar in een SUBdirectory daarvan, genaamd LiquidCrystal_I2C. Nogmaals: beschrijf duidelijk en precies wat je doet en hoe het zit. Van een afstandje foutzoeken is al niet makkelijk, maar incomplete of incorrecte informatie maakt het nog moeilijker.

De locatie van je library lijkt in orde. Althans, is je username werkelijk mabbekerkoud?

Volgende vraag: laat de Arduino IDE je library zien in het overzicht van user-libraries (verschijnt in het lijstje bij muizen naar Sketch->Import)