Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes in library header and examples #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

botmayank
Copy link

  • Fixes compatibility issue with megaAVR boards, tested on Arduino Nano Every for INPUT_PULLDOWN variable which prevents compilation.
  • Fixes alternate address initializations in both remoteBlink and remoteButton examples for cases when PCAL6524 chip is used on a different I2C address.

Arduino.h for Arduino UNO doesn't have INPUT_PULLDOWN defined. But other megaAVR boards like
Arduino Nano Every have it defined and this counts as re-declaration. Changing the variable to
a #define seems like the easiest workaround to make it work with both boards.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant