MLX90614 Infrared Thermometer Project with Switch and Micro Oled Breakout Display

Hi all, as an introduction I will share an image of my setup as I am unable to upload an image due to http error: https://ibb.co/Wpy8L3x

So a little background is I am building an Infrared Thermometer but I am stuck with a couple of things and require help.

  1. Whenever i am compiling the example code for MLX90614_Serial Demo which comes from the Sparkfun MLX90614 Library, I am faced with the below error message:

Arduino: 1.8.13 (Mac OS X), Board: “Arduino Uno”

/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware -tools /private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/tools-builder -tools /private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/libraries -libraries /Users/evansoo/Documents/Arduino/libraries -fqbn=arduino:avr:uno -vid-pid=0000_0000 -ide-version=10813 -build-path /var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/arduino_build_291241 -warnings=none -build-cache /var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/arduino_cache_699043 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Users/evansoo/Downloads/IR_Thermometer/MLX90614_Code/MLX90614_Code.ino
/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware -tools /private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/tools-builder -tools /private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/libraries -libraries /Users/evansoo/Documents/Arduino/libraries -fqbn=arduino:avr:uno -vid-pid=0000_0000 -ide-version=10813 -build-path /var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/arduino_build_291241 -warnings=none -build-cache /var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/arduino_cache_699043 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Users/evansoo/Downloads/IR_Thermometer/MLX90614_Code/MLX90614_Code.ino
Using board 'uno' from platform in folder: /private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr
Using core 'arduino' from platform in folder: /private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr
Detecting libraries used...
/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard /var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/arduino_build_291241/sketch/MLX90614_Code.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for Wire.h: [Wire@1.0]
ResolveLibrary(Wire.h)
  -> candidates: [Wire@1.0]
/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src /var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/arduino_build_291241/sketch/MLX90614_Code.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for SparkFunMLX90614.h: [SparkFun_MLX90614_Arduino_Library-master@1.0.3]
ResolveLibrary(SparkFunMLX90614.h)
  -> candidates: [SparkFun_MLX90614_Arduino_Library-master@1.0.3]
/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src /var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/arduino_build_291241/sketch/MLX90614_Code.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for SPI.h: [SPI@1.0]
ResolveLibrary(SPI.h)
  -> candidates: [SPI@1.0]
/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src /var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/arduino_build_291241/sketch/MLX90614_Code.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for SFE_MicroOLED.h: [SparkFun_Micro_OLED_Arduino_Library-master@1.2.7]
ResolveLibrary(SFE_MicroOLED.h)
  -> candidates: [SparkFun_Micro_OLED_Arduino_Library-master@1.2.7]
/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_Micro_OLED_Arduino_Library-master/src /var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/arduino_build_291241/sketch/MLX90614_Code.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Using cached library dependencies for file: /private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src/Wire.cpp
Using cached library dependencies for file: /private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src/utility/twi.c
/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_Micro_OLED_Arduino_Library-master/src /Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_Micro_OLED_Arduino_Library-master/src /private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src/SPI.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_Micro_OLED_Arduino_Library-master/src /Users/evansoo/Documents/Arduino/libraries/SparkFun_Micro_OLED_Arduino_Library-master/src/SFE_MicroOLED.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_Micro_OLED_Arduino_Library-master/src /Users/evansoo/Documents/Arduino/libraries/SparkFun_Micro_OLED_Arduino_Library-master/src/hardware.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Generating function prototypes...
/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_Micro_OLED_Arduino_Library-master/src /var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/arduino_build_291241/sketch/MLX90614_Code.ino.cpp -o /var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/arduino_build_291241/preproc/ctags_target_for_gcc_minus_e.cpp -DARDUINO_LIB_DISCOVERY_PHASE
/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/arduino_build_291241/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_Micro_OLED_Arduino_Library-master/src /var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/arduino_build_291241/sketch/MLX90614_Code.ino.cpp -o /var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/arduino_build_291241/sketch/MLX90614_Code.ino.cpp.o
Compiling libraries...
Compiling library "Wire"
Using previously compiled file: /var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/arduino_build_291241/libraries/Wire/Wire.cpp.o
Using previously compiled file: /var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/arduino_build_291241/libraries/Wire/utility/twi.c.o
Compiling library "SparkFun_MLX90614_Arduino_Library-master"
/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src -I/private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI/src -I/Users/evansoo/Documents/Arduino/libraries/SparkFun_Micro_OLED_Arduino_Library-master/src /Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.cpp -o /var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/arduino_build_291241/libraries/SparkFun_MLX90614_Arduino_Library-master/SparkFunMLX90614.cpp.o
In file included from /Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.cpp:17:0:
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.cpp: In member function 'uint8_t IRTherm::sleep()':
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.h:30:15: error: 'digitalPinToPinName' was not declared in this scope
 #define SCL  (digitalPinToPinName(PIN_WIRE_SCL))
               ^
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.cpp:276:10: note: in expansion of macro 'SCL'
  pinMode(SCL, OUTPUT);
          ^~~
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.h:30:15: note: suggested alternative: 'digitalPinToBitMask'
 #define SCL  (digitalPinToPinName(PIN_WIRE_SCL))
               ^
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.cpp:276:10: note: in expansion of macro 'SCL'
  pinMode(SCL, OUTPUT);
          ^~~
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.cpp: In member function 'uint8_t IRTherm::wake()':
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.h:30:15: error: 'digitalPinToPinName' was not declared in this scope
 #define SCL  (digitalPinToPinName(PIN_WIRE_SCL))
               ^
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.cpp:285:10: note: in expansion of macro 'SCL'
  pinMode(SCL, INPUT); // SCL high
          ^~~
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.h:30:15: note: suggested alternative: 'digitalPinToBitMask'
 #define SCL  (digitalPinToPinName(PIN_WIRE_SCL))
               ^
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.cpp:285:10: note: in expansion of macro 'SCL'
  pinMode(SCL, INPUT); // SCL high
          ^~~
Using library Wire at version 1.0 in folder: /private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire 
Using library SparkFun_MLX90614_Arduino_Library-master at version 1.0.3 in folder: /Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master 
Using library SPI at version 1.0 in folder: /private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI 
Using library SparkFun_Micro_OLED_Arduino_Library-master at version 1.2.7 in folder: /Users/evansoo/Documents/Arduino/libraries/SparkFun_Micro_OLED_Arduino_Library-master 
exit status 1
Error compiling for board Arduino Uno.

That aside, I need help with the source code for display the object and ambient temperature on the micro oled display, and there is little to no information (on the sparkfun website) about the combination of Micro oled breakout display with the MLX90614 evaluation board. I am currently using this source code with the image setup as shown above and circuitry which I will explain in detail after sharing my source code:

#include <Wire.h> // Include Wire.h - Arduino I2C library
#include <SparkFunMLX90614.h> // Include IR thermometer library
#include <SPI.h>
#include <Wire.h>
#include <SFE_MicroOLED.h>

#define PIN_RESET 9  // Connect RST to pin 9 (req. for SPI and I2C)
#define PIN_DC    8  // Connect DC to pin 8 (required for SPI)
#define PIN_CS    10 // Connect CS to pin 10 (required for SPI)
#define DC_JUMPER 0 // Set to either 0 (default) or 1 based on jumper, matching the value of the DC Jumper
// Also connect pin 13 to SCK and pin 11 to MOSI

// Declare a MicroOLED object. The parameters include:
// 1 - Reset pin: Any digital pin
// 2 - D/C pin: Any digital pin (SPI mode only)
// 3 - CS pin: Any digital pin (SPI mode only, 10 recommended)
//MicroOLED oled(PIN_RESET, PIN_DC, PIN_CS); //Example SPI declaration, comment out if using SPI
MicroOLED oled(PIN_RESET, DC_JUMPER); //Example I2C declaration, uncomment if using I2C 
IRTherm temp; // Create an IRTherm object called temp



void setup()
{ 
    delay(100);
    Wire.begin(); //set up I2C bus, uncomment if you are using I2C
    // Before you can start using the OLED, call begin() to init
    // all of the pins and configure the OLED.
    oled.begin();
    temp.begin(); // Initialize I2C library and the MLX90614
    temp.setUnit(TEMP_C); // Set units to Farenheit (alternatively TEMP_C or TEMP_K)

    if (temp.read()) // Read from the sensor
    { // If the read is successful:
     float ambientT = temp.ambient(); // Get updated ambient temperature
     float objectT = temp.object(); // Get updated object temperature
     oled.print("Ambient: " + String(ambientT));
     oled.print("Object: " + String(objectT));
    oled.display();
    }
}

So the connection for the Micro OLED breakout display follows the one on this website under the title Hardware Hookup Arduino Pro 3.3v via SPI (I am using an Arduino Uno which I output 3.3v from the pin): https://learn.sparkfun.com/tutorials/mi … 1595227436

As for the connection for the MLX90614 Evaluation Board i am using the ICSP headers.

ICSP Header

Pin Label. Equivalent Arduino pin

RST Reset Arduino active-low reset

GND GND Ground (0v)

SCK 13 SPI clock and/or digital in/out

MOSI 11 SPI master-out/slave-in and/or digital in/out

MISO 12 SPI master-in/slave-out and/or digital in/out

VCC 3.3V 3.3V supply (regulated from the VCC input)

So since pin 11 on Arduino is used for the micro oled display, I will combine it in parallel and connect it together using the breadboard. Ultimately I would not be using the breadboard and everything boils down to a breadboard, a 9v battery, a switch, MLX90614 Evaluation board and Micro Oled breakout display.

Let me know and reply to this post if you have any further questions.

I take my references from the following websites:

References: https://learn.sparkfun.com/tutorials/ml … ng-further

https://learn.sparkfun.com/tutorials/mi … 1595227436

On Close analysis the error code when compiling is:

In file included from /Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.cpp:17:0:
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.cpp: In member function 'uint8_t IRTherm::sleep()':
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.h:30:15: error: 'digitalPinToPinName' was not declared in this scope
 #define SCL  (digitalPinToPinName(PIN_WIRE_SCL))
               ^
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.cpp:276:10: note: in expansion of macro 'SCL'
  pinMode(SCL, OUTPUT);
          ^~~
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.h:30:15: note: suggested alternative: 'digitalPinToBitMask'
 #define SCL  (digitalPinToPinName(PIN_WIRE_SCL))
               ^
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.cpp:276:10: note: in expansion of macro 'SCL'
  pinMode(SCL, OUTPUT);
          ^~~
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.cpp: In member function 'uint8_t IRTherm::wake()':
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.h:30:15: error: 'digitalPinToPinName' was not declared in this scope
 #define SCL  (digitalPinToPinName(PIN_WIRE_SCL))
               ^
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.cpp:285:10: note: in expansion of macro 'SCL'
  pinMode(SCL, INPUT); // SCL high
          ^~~
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.h:30:15: note: suggested alternative: 'digitalPinToBitMask'
 #define SCL  (digitalPinToPinName(PIN_WIRE_SCL))
               ^
/Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master/src/SparkFunMLX90614.cpp:285:10: note: in expansion of macro 'SCL'
  pinMode(SCL, INPUT); // SCL high
          ^~~
Using library Wire at version 1.0 in folder: /private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire 
Using library SparkFun_MLX90614_Arduino_Library-master at version 1.0.3 in folder: /Users/evansoo/Documents/Arduino/libraries/SparkFun_MLX90614_Arduino_Library-master 
Using library SPI at version 1.0 in folder: /private/var/folders/lm/_yd7wz4x21vfrn9rjpxtbz480000gn/T/AppTranslocation/479406B4-7227-4C12-852C-1CE8C77B7B8A/d/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI 
Using library SparkFun_Micro_OLED_Arduino_Library-master at version 1.2.7 in folder: /Users/evansoo/Documents/Arduino/libraries/SparkFun_Micro_OLED_Arduino_Library-master 
exit status 1
Error compiling for board Arduino Uno.

When I am running the MLX90614_serial_demo code, how is that setup or hardware hookup of the MLX90614 Evaluation board? I just connect the FTDI basic to the evaluation board then the whole thing to the computer?