Schrodingers .h file

I don't get it every time I try to compile Arduino_Basic I get an error saying there is no file called I2cMaster.h, I added it to the folder, it shows up in a tab when I open the .ino but compiling tells me it is not there. Somehow it both exists and doesn't at the same time.

is it that Basic GitHub - robinhedwards/ArduinoBASIC: A BASIC interpreter & environment for the Arduino ?

Just having the .h is probably not enough, you need the associated .c or .cpp and may be more dependencies.

are you using external EEPROM ?

Arrange the order of filenames in the sketch. Try "i2cmaster" first. Some libraries reference other libraries (other libraries must be listed before some).

@xfpd gave you a good link, the only thing I would change is to use the "find" command in Linux first, that is fast and saves time. I simply copy the file from the error and plug it into the Linux terminal the find command. $ find -iname "file name copied from error display" That will give you the path and location of every instance of that file.

Yes that is the one. I added the .cpp file, still says it. I'm not even sure if it is the correct I2cMaster, cant find any others though. I wasn't planning on it... Should I?

may be you need to install the full library correctly on your machine

It might be the one from

http://www.peterfleury.epizy.com/avr-software.html

  • I2C Master Interface
    This library consists of a C include file i2cmaster.h and an assembler module i2cmaster.S.
    It can be used to communicate with I2C devices (serial EEPROM, serial RTC etc) from any AVR device.
    i2cmaster.zip Online Manual