4 Pin 16X2 arduino LCD not working with

Trying to get my lcd screen to work but it won’t upload without this build error:[/b]

Arduino: 1.8.3 (Windows 10), Board: “Arduino/Genuino Uno”

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Diaz\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Diaz\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Diaz\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10803 -build-path C:\Users\Diaz\AppData\Local\Temp\arduino_build_16197 -warnings=none -build-cache C:\Users\Diaz\AppData\Local\Temp\arduino_cache_78634 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\Diaz\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Diaz\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.0.0 -prefs=runtime.tools.avrdude.path=C:\Users\Diaz\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino8 -verbose C:\Users\Diaz\Documents\Arduino\SerialLCD\SerialLCD.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Diaz\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Diaz\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Diaz\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10803 -build-path C:\Users\Diaz\AppData\Local\Temp\arduino_build_16197 -warnings=none -build-cache C:\Users\Diaz\AppData\Local\Temp\arduino_cache_78634 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\Diaz\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Diaz\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.0.0 -prefs=runtime.tools.avrdude.path=C:\Users\Diaz\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino8 -verbose C:\Users\Diaz\Documents\Arduino\SerialLCD\SerialLCD.ino
Using board ‘uno’ from platform in folder: C:\Users\Diaz\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.17
Using core ‘arduino’ from platform in folder: C:\Users\Diaz\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.17
Detecting libraries used…
“C:\Users\Diaz\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\Diaz\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.17\cores\arduino” “-IC:\Users\Diaz\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.17\variants\standard” “C:\Users\Diaz\AppData\Local\Temp\arduino_build_16197\sketch\SerialLCD.ino.cpp” -o “nul”
“C:\Users\Diaz\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\Diaz\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.17\cores\arduino” “-IC:\Users\Diaz\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.17\variants\standard” “-IC:\Users\Diaz\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-f0ec1a56eac5” “C:\Users\Diaz\AppData\Local\Temp\arduino_build_16197\sketch\SerialLCD.ino.cpp” -o “nul”
“C:\Users\Diaz\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\Diaz\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.17\cores\arduino” “-IC:\Users\Diaz\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.17\variants\standard” “-IC:\Users\Diaz\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-f0ec1a56eac5” “C:\Users\Diaz\AppData\Local\Temp\arduino_build_16197\sketch\SerialLCD.ino.cpp” -o “C:\Users\Diaz\AppData\Local\Temp\arduino_build_16197\preproc\ctags_target_for_gcc_minus_e.cpp”
In file included from C:\Users\Diaz\Documents\Arduino\SerialLCD\SerialLCD.ino:1:0:

C:\Users\Diaz\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-f0ec1a56eac5/FastIO.h:45:60: fatal error: util/atomic.h: No such file or directory

#include <util/atomic.h> // for critical section management

^

compilation terminated.

Using library fmalpartida-new-liquidcrystal-f0ec1a56eac5 in folder: C:\Users\Diaz\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-f0ec1a56eac5 (legacy)
exit status 1
Error compiling for board Arduino/Genuino Uno.

I’ve included the sketch and library zip file below

SerialLCD.ino (1.02 KB)

here is one part of the problem:

C:\Users\Diaz\Documents\Arduino\libraries\fmalpartida-new-liquidcrystal-f0ec1a56eac5/FastIO.h:45:60: fatal error: util/atomic.h: No such file or directory

I would look online for the missing library.. But it looks like you might be able to add from "Manage libraries" section..

There is no such library in the manage libraries section with that name. In the actual .h file for the LiquidCrystal library, there is a reference to it, maybe a file is missing from the library?

Here’s the reference in the FastIO.h file:

#if defined (AVR)
#include <util/atomic.h> // for critical section management
typedef uint8_t fio_bit;
typedef volatile uint8_t *fio_register;

Maybe something’s missing?

I think the file no longer exists for the newer version of Arduino IDE. (I have the latest version). I have tried to replace the .h files and other references that no longer exist with Arduino.h, however, it won't let me save any of these changes.......

[SOLVED] - located file where library reference was missing and replaced it with "Arduino.h". Saved. Ran the I2C scanner found my I2C address and included that. Make sure to write an "F" after it such as "0x27F".