Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upMake sure there are no extra folders in the library for example there should be a folder called liquidcrystal inside the liquidcrystal folder; If all fails copy the code from the header file make a new file in the IDE paste it in there and call it LiquidCrystalI2C.h; Hope one of those solves your problem. I added LiquidCrystalI2C.h to sketch folder, but i getting 'that SerialDisplay.ino:6:31: fatal error: LiquidCrystalI2C.h: No such file or directory' what i did mistake??i'm using 1.6.4 Arduino IDE.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
commented Feb 23, 2015
fatal error: plotly_streaming_ethernet.h: No such file or directory compilation terminated. Error compiling. I recently downloaded the Plotly Arduino Library and tried incorporating it to my Arduino Mega 2560. I also have the W5200 V.2 Ethernet Shield by seeedstudio piggy backed to it. I am connected via /dev/tty.usbmodem and programmer is set to USBtinyISP. My issue is finding a resolution to an issue I am having. I receive this error whenever I compile... /* fatal error: plotly_streaming_ethernet.h: No such file or directory compilation terminated. Error compiling. */ I have searched the Internet for those who may have had similar issues. Yes, I added the library properly Yes, I have an updated version of the Arduino IDE. Yes, I have restarted both my Mac & the IDE Yes, I have uninstalled Arduino IDE and removed all traces of it and then reinstalled the software. (same with plotly library) |
commented Feb 23, 2015
I solved part of it... Unlike usual placement of Arduino files '~Documents/Arduino/libraries/arduino-api-master' I had to place all sub folders into '~Documents/Arduino/libraries' Now I have another issue... Documents/Arduino/libraries/plotly_streaming_ethernet/plotly_streaming_ethernet.cpp:6:25: fatal error: avr/dtostrf.h: No such file or directory #include <avr/dtostrf.h> ^ compilation terminated. Error compiling. |
commented Feb 23, 2015
Closed |
commented Mar 5, 2015
Hi Did you solve the problem? I get the same error. |
commented Mar 5, 2015
commented Apr 6, 2015
same problem.... |
commented Apr 7, 2015
I'll take another look at this tomorrow AM. For now, can you try using an older version of the Arduino IDE? I get pretty good results using 1.0.3 I'll be in touch tomorrow! |
commented Oct 30, 2015
When you are unpacking the zo file, most programs put the folder into another folder. when you take the folder in the folder to the libraries folder, all is working(by me) sorry for my bad english im from germany |
commented Feb 8, 2017
Files need to be unzipped into your Arduino library folder |
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
PermalinkJoin GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign up Find file Copy path
joaopedrosgsUpdate LiquidCrystal_I2C.h627306cMar 9, 2017
2 contributors
#ifndef FDB_LIQUID_CRYSTAL_I2C_H |
#defineFDB_LIQUID_CRYSTAL_I2C_H |
#include<inttypes.h> |
#include<Print.h> |
// commands |
#defineLCD_CLEARDISPLAY0x01 |
#defineLCD_RETURNHOME0x02 |
#defineLCD_ENTRYMODESET0x04 |
#defineLCD_DISPLAYCONTROL0x08 |
#defineLCD_CURSORSHIFT0x10 |
#defineLCD_FUNCTIONSET0x20 |
#defineLCD_SETCGRAMADDR0x40 |
#defineLCD_SETDDRAMADDR0x80 |
// flags for display entry mode |
#defineLCD_ENTRYRIGHT0x00 |
#defineLCD_ENTRYLEFT0x02 |
#defineLCD_ENTRYSHIFTINCREMENT0x01 |
#defineLCD_ENTRYSHIFTDECREMENT0x00 |
// flags for display on/off control |
#defineLCD_DISPLAYON0x04 |
#defineLCD_DISPLAYOFF0x00 |
#defineLCD_CURSORON0x02 |
#defineLCD_CURSOROFF0x00 |
#defineLCD_BLINKON0x01 |
#defineLCD_BLINKOFF0x00 |
// flags for display/cursor shift |
#defineLCD_DISPLAYMOVE0x08 |
#defineLCD_CURSORMOVE0x00 |
#defineLCD_MOVERIGHT0x04 |
#defineLCD_MOVELEFT0x00 |
// flags for function set |
#defineLCD_8BITMODE0x10 |
#defineLCD_4BITMODE0x00 |
#defineLCD_2LINE0x08 |
#defineLCD_1LINE0x00 |
#defineLCD_5x10DOTS0x04 |
#defineLCD_5x8DOTS0x00 |
// flags for backlight control |
#defineLCD_BACKLIGHT0x08 |
#defineLCD_NOBACKLIGHT0x00 |
#defineEn B00000100 // Enable bit |
#defineRw B00000010 // Read/Write bit |
#defineRs B00000001 // Register select bit |
/** |
* This is the driver for the Liquid Crystal LCD displays that use the I2C bus. |
* |
* After creating an instance of this class, first call begin() before anything else. |
* The backlight is on by default, since that is the most likely operating mode in |
* most cases. |
*/ |
classLiquidCrystal_I2C : publicPrint { |
public: |
/** |
* Constructor |
* |
* @param lcd_addr I2C slave address of the LCD display. Most likely printed on the |
* LCD circuit board, or look in the supplied LCD documentation. |
* @param lcd_cols Number of columns your LCD display has. |
* @param lcd_rows Number of rows your LCD display has. |
* @param charsize The size in dots that the display has, use LCD_5x10DOTS or LCD_5x8DOTS. |
*/ |
LiquidCrystal_I2C(uint8_t lcd_addr, uint8_t lcd_cols, uint8_t lcd_rows, uint8_t charsize = LCD_5x8DOTS); |
/** |
* Set the LCD display in the correct begin state, must be called before anything else is done. |
*/ |
voidbegin(); |
/** |
* Remove all the characters currently shown. Next print/write operation will start |
* from the first position on LCD display. |
*/ |
voidclear(); |
/** |
* Next print/write operation will will start from the first position on the LCD display. |
*/ |
voidhome(); |
/** |
* Do not show any characters on the LCD display. Backlight state will remain unchanged. |
* Also all characters written on the display will return, when the display in enabled again. |
*/ |
voidnoDisplay(); |
/** |
* Show the characters on the LCD display, this is the normal behaviour. This method should |
* only be used after noDisplay() has been used. |
*/ |
voiddisplay(); |
/** |
* Do not blink the cursor indicator. |
*/ |
voidnoBlink(); |
/** |
* Start blinking the cursor indicator. |
*/ |
voidblink(); |
/** |
* Do not show a cursor indicator. |
*/ |
voidnoCursor(); |
/** |
* Show a cursor indicator, cursor can blink on not blink. Use the |
* methods blink() and noBlink() for changing cursor blink. |
*/ |
voidcursor(); |
voidscrollDisplayLeft(); |
voidscrollDisplayRight(); |
voidprintLeft(); |
voidprintRight(); |
voidleftToRight(); |
voidrightToLeft(); |
voidshiftIncrement(); |
voidshiftDecrement(); |
voidnoBacklight(); |
voidbacklight(); |
boolgetBacklight(); |
voidautoscroll(); |
voidnoAutoscroll(); |
voidcreateChar(uint8_t, uint8_t[]); |
voidsetCursor(uint8_t, uint8_t); |
virtualsize_twrite(uint8_t); |
voidcommand(uint8_t); |
inlinevoidblink_on() { blink(); } |
inlinevoidblink_off() { noBlink(); } |
inlinevoidcursor_on() { cursor(); } |
inlinevoidcursor_off() { noCursor(); } |
// Compatibility API function aliases |
voidsetBacklight(uint8_t new_val); // alias for backlight() and nobacklight() |
voidload_custom_character(uint8_t char_num, uint8_t *rows); // alias for createChar() |
voidprintstr(constchar[]); |
private: |
voidsend(uint8_t, uint8_t); |
voidwrite4bits(uint8_t); |
voidexpanderWrite(uint8_t); |
voidpulseEnable(uint8_t); |
uint8_t _addr; |
uint8_t _displayfunction; |
uint8_t _displaycontrol; |
uint8_t _displaymode; |
uint8_t _cols; |
uint8_t _rows; |
uint8_t _charsize; |
uint8_t _backlightval; |
}; |
#endif// FDB_LIQUID_CRYSTAL_I2C_H |
Copy lines Copy permalink