Problem with LiquidCrystal library

Hello,

I have a very frustrating problem with Arduino IDE. I was dealing with another problem (lcd didn’t want to work, displayed gibberish), tried to install the latest LiquidCrystal library, and later realized it’s same as the one that comes with IDE with addition of some SPI thingie, so I tried to return it to the previous one. Then, it didn’t want to compile (reported some error), so I thought that deleting Arduino folder and getting a new one would help, but it didn’t. I still get the error, and here it is:

Arduino: 1.6.1 (Windows 8.1), Board: “Arduino Uno”

Build options changed, rebuilding all

In file included from HelloWorld.ino:2:0:

C:\Users\Miloš\Documents\Arduino\libraries\LiquidCrystal/LiquidCrystal.h:7:17: fatal error: SPI.h: No such file or directory

#include <SPI.h>

^

compilation terminated.

Error compiling.

This report would have more information with
“Show verbose output during compilation”
enabled in File > Preferences.

Does anyone know how can I fix this? Or, how can I restore Arduino to it’s initial settings, delete registry files or anything, I just want the library to work again normally.

Thanks in advance,
Miloš

Deleting and reinstalling the Arduino folder only updates the libraries that come with the IDE.

Any other libraries, if installed as recommended here (Installing Additional Arduino Libraries), wind up in an Arduino folder in your ‘Documents’ folder.

These libraries do not get removed and/or updated when you reinstall the Arduino IDE.

Don

I used LiquidCrystal_I2C Library. Code should be edited for some modules.

http://forum.arduino.cc/index.php?topic=310579.0

I used LiquidCrystal_I2C Library.

That provides no useful information since just about every library ever written to drive a character mode LCD using I2C has been given that same name.

Your link provides no usable information for the same reason.

Don

floresta: Deleting and reinstalling the Arduino folder only updates the libraries that come with the IDE.

Any other libraries, if installed as recommended here (Installing Additional Arduino Libraries), wind up in an Arduino folder in your 'Documents' folder.

These libraries do not get removed and/or updated when you reinstall the Arduino IDE.

Don

Thank you, that helped a lot!

I don't want to open a new thread, so I'll just ask here about my other problem, so, here it is:

http://i.imgur.com/3sTQPJV.jpg

Does anyone know why could this be happening? This thing used to run fine last time I used it with this power supply and this arduino board. I tried changing all the wires, I tried different breadboard position, I tried putting a capacitor between power rails, I tried using different set of arduino pins, but nothing seems to help, all I get is gibberish. Anyone encountered this kind of problem?

Btw, the program is the basic, unedited "hello world!" program.

EDIT: I also tried the blinking led program, and it works, so arduino should be OK.

You really should consider applying power to pins 1 and 2 and connecting pin 5 to GND.

It looks like you also may need to re-solder the connections to your LCD module. Take a look at this --> https://learn.adafruit.com/adafruit-guide-excellent-soldering/common-problems

Don

floresta: You really should consider applying power to pins 1 and 2 and connecting pin 5 to GND.

It looks like you also may need to re-solder the connections to your LCD module. Take a look at this --> https://learn.adafruit.com/adafruit-guide-excellent-soldering/common-problems

Don

The jumber wires are below the LCD, everything is connected, 1 to GND, 2 to 5V, and RW to GND.

And I visually checked my solder joints, and they seem ok, but will do another check with proper equipment I guess. Thank you for your answer.