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
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/remoteButton/remoteButton.ino
Expand Up @@ -13,9 +13,9 @@


PCAL6524 io; //Address Pin is tied to ground (DEFAULT)
//PCAL6524(PCAL6524_ADDRESS_0) io; //Adress Pin is Tied to SCL
//PCAL6524(PCAL6524_ADDRESS_1) io; //Adress Pin is Tied to SDA
//PCAL6524(PCAL6524_ADDRESS_3) io; //Adress Pin is Tied to VDD
//PCAL6524 io(PCAL6524_ADDRESS_0); //Adress Pin is Tied to SCL
//PCAL6524 io(PCAL6524_ADDRESS_1); //Adress Pin is Tied to SDA
//PCAL6524 io(PCAL6524_ADDRESS_3); //Adress Pin is Tied to VDD

/* PCAL6524 24 IO pins are brocken into 3 Banks, Pin IDs coresponed to Pin IDs from NXP data sheets
* Bank 0 Bank 1 Bank 2
Expand Down
6 changes: 3 additions & 3 deletions examples/remoteblink/remoteblink.ino
Expand Up @@ -11,9 +11,9 @@


PCAL6524 io; //Address Pin is tied to ground (DEFAULT)
//PCAL6524(PCAL6524_ADDRESS_0) io; //Adress Pin is Tied to SCL
//PCAL6524(PCAL6524_ADDRESS_1) io; //Adress Pin is Tied to SDA
//PCAL6524(PCAL6524_ADDRESS_3) io; //Adress Pin is Tied to VDD
//PCAL6524 io(PCAL6524_ADDRESS_0); //Adress Pin is Tied to SCL
//PCAL6524 io(PCAL6524_ADDRESS_1); //Adress Pin is Tied to SDA
//PCAL6524 io(PCAL6524_ADDRESS_3); //Adress Pin is Tied to VDD

/* PCAL6524 24 IO pins are brocken into 3 Banks, Pin IDs coresponed to Pin IDs from NXP data sheets
* Bank 0 Bank 1 Bank 2
Expand Down
2 changes: 1 addition & 1 deletion src/PCAL6254.h
Expand Up @@ -121,7 +121,7 @@
Additinal Value
-----------------------------------------------------------------------*/

const uint8_t INPUT_PULLDOWN = 0x03;
#define INPUT_PULLDOWN 0x03
/*=========================================================================*/


Expand Down