It's not a bug, but need help for my understanding.
I playing with and arduino mega 2560 board since few weeks (my goal is to learrning C by practice).

Everything was fine until i want play with external librairies explnations.

I bought a 9DoF (Adafruit_FXOS8700 / Adafruit_FXAS21002C) ad try to use exmaple file, but stock with the Makefile modification.

I found how to include Adafruit_Sensor by adding :
CINCS = -I$(ARDUINO)/cores/arduino $(LIBINC) \
        -I$(ARDUINO)/variants/$(VARIANT) \

But i dont understand how to modify my Makefile to handle Adafruit_FXAS21002C and compile it. I try differents syntax /things without success.

My sketch looks like this :

$ ls -lt *
-rwxr-xr-x  1 rhino  rhino  6367 Jun 18 18:24 Makefile
-rw-r--r--  1 rhino  rhino   644 Jun 18 14:24 sensor.ino

total 32
drwxr-xr-x  3 rhino  rhino  512 Jun 19 09:49 Adafruit_FXAS21002C
drwxr-xr-x  3 rhino  rhino  512 Jun 18 11:00 Adafruit_FXOS8700
drwxr-xr-x  2 rhino  rhino  512 Jun 18 10:59 Adafruit_Sensor
drwxr-xr-x  5 rhino  rhino  512 Jun 18 10:59 Adafruit_AHRS

Thank's for your help and your advices.


Reply via email to