Skip to content

Interference with analog port #2

Closed
@rmnrmnd

Description

@rmnrmnd

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
        ^~~~~~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions