adafruit / Adafruit-MLX90614-Library

Arduino library for the MLX90614 sensors in the Adafruit shop
Other
128 stars 97 forks source link

fatal error: Adafruit_I2CDevice.h: No such file or directory #44

Closed Ashino007 closed 1 year ago

Ashino007 commented 1 year ago

Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino UNO"

In file included from D:\Program\Percobaan\Percobaan.ino:3:0:

C:\Users\Wansya\OneDrive\Documents\Arduino\libraries\Adafruit-MLX90614-Library-master/Adafruit_MLX90614.h:18:10: fatal error: Adafruit_I2CDevice.h: No such file or directory

include

  ^~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

exit status 1

Error compiling for board Arduino UNO.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

Ashino007 commented 1 year ago

Please help, why always like this if i compile while using this library ??

caternuson commented 1 year ago

You are missing a library dependency: https://github.com/adafruit/Adafruit-MLX90614-Library/blob/367bc379c981a7b815cb5f3db3488f0af4576f8a/library.properties#L10

Install the BusIO library: https://github.com/adafruit/Adafruit_BusIO

Ashino007 commented 1 year ago

Already fixed it, thanks before