Summary:
Basically, I am trying to use the RadioHead library while using an I2C IO expander pin for the chip select pin of the RF module,
so I edited the RadioHead library to use a function placed in the Arduino sketch folder,
instead of the original digitalWrite(CC, LOW)... I use my own function I2C_IO_Write(CC, LOW);...
However, the library I have created and placed in the Arduino sketch folder does not link with the Arduino library... in my case the RadioHead library.
Question:
is there a way to use in an Arduino library a function that is inside a .h file in the sketch folder?
Note:
using the full path doesn't work, I am having a hard time understanding how the Arduino build system links all the stuff together...
Basically, I am trying to use the RadioHead library while using an I2C IO expander pin for the chip select pin of the RF module,
so I edited the RadioHead library to use a function placed in the Arduino sketch folder,
instead of the original digitalWrite(CC, LOW)... I use my own function I2C_IO_Write(CC, LOW);...
However, the library I have created and placed in the Arduino sketch folder does not link with the Arduino library... in my case the RadioHead library.
Question:
is there a way to use in an Arduino library a function that is inside a .h file in the sketch folder?
Note:
using the full path doesn't work, I am having a hard time understanding how the Arduino build system links all the stuff together...