You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running the library on Arduino GIGA and the original display shield, It seems that it is interfering with analog functionalities. Whenever I call analogRead() the display will blink white for a frame.
Also, if you use this library in a sketch that also has an #include directive for Arduino_AdvancedAnalog.h, you will get the following compile error:
in file included from /home/x/Arduino/libraries/Arduino_AdvancedAnalog/src/AdvancedAnalog.h:25:0,
from /home/x/Arduino/libraries/Arduino_AdvancedAnalog/src/AdvancedADC.h:22,
from /home/x/Arduino/libraries/Arduino_AdvancedAnalog/src/Arduino_AdvancedAnalog.h:27,
from /home/x/Desktop/Giga1/Giga1.ino:5:
/home/x/.arduino15/packages/arduino/hardware/mbed_giga/4.0.8/cores/arduino/pinDefinitions.h:16:8: error: redefinition of 'struct _AnalogPinDescription'
struct _AnalogPinDescription
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/x/Arduino/libraries/Arduino_GigaDisplayTouch/src/Arduino_GigaDisplayTouch.h:35:0,
from /home/x/Desktop/Giga1/Giga1.ino:2:
/home/x/.arduino15/packages/arduino/hardware/mbed_giga/4.0.8/cores/arduino/pinDefinitions.h:16:8: note: previous definition of 'struct _AnalogPinDescription'
struct _AnalogPinDescription
^~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
I solved the problem by removing #include "pinDefinition.h" and PinNameToIndex() functions. I do not know what is the problem, but seems like a duplicate inclusion bug.
I am running the library on Arduino GIGA and the original display shield, It seems that it is interfering with analog functionalities. Whenever I call
analogRead()
the display will blink white for a frame.Also, if you use this library in a sketch that also has an
#include
directive forArduino_AdvancedAnalog.h
, you will get the following compile error:The text was updated successfully, but these errors were encountered: