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
in a project you receive a warning on compilation (see below)
Expected behavior
Should compile without warning
Actual behavior
In file included from /Documents/Arduino/ShuttleOS/ShuttleOS.ino:16:
/Documents/Arduino/libraries/SparkFun_Qwiic_Button_and_Qwiic_Switch_Library/src/SparkFun_Qwiic_Button.h:29: warning: "DEFAULT_ADDRESS" redefined
#define DEFAULT_ADDRESS 0x6F //default I2C address of the button
In file included from /Documents/Arduino/ShuttleOS/ShuttleOS.ino:14:
/Documents/Arduino/libraries/SparkFun_Qwiic_Alphanumeric_Display_Arduino_Library/src/SparkFun_Alphanumeric_Display.h:32: note: this is the location of the previous definition
#define DEFAULT_ADDRESS 0x70 // Default I2C address when A0, A1 are floating
The text was updated successfully, but these errors were encountered:
makesaur
added a commit
to makesaur/SparkFun_Qwiic_Button_Arduino_Library
that referenced
this issue
Mar 16, 2022
Subject of the issue
Warning when including both Qwiic button and Alphanumeric libraries
Your workbench
Independent of board. Tested with Artemis ATP and Redboard
Arduino 1.8.13 on MacOS 12.0.1
Qwiic Button 2.0.5
Qwiic Alphanumeric 2.2.5
Steps to reproduce
If you have both:
in a project you receive a warning on compilation (see below)
Expected behavior
Should compile without warning
Actual behavior
The text was updated successfully, but these errors were encountered: