change bank address

This commit is contained in:
Siwat Sirichai 2023-08-26 12:47:28 +07:00
parent 81434a39b5
commit 81f0e80f8c
3 changed files with 14 additions and 7 deletions

View file

@ -7,13 +7,14 @@
#include <PCF8574.h>
#define INPUT_BANK_A_ADDRESS 0x21
#define INPUT_BANK_B_ADDRESS 0x20
#define INPUT_BANK_B_ADDRESS 0x22
#define PWM_BANK_ADDRESS 0x5F
#define OUTPUT_BANK_ADDRESS 0x21
#define EEPROM_ADDRESS 0x22
//#define USE_INTERRUPT
//#define INPUT_BANK_A_INTERRUPT 35
//#define INPUT_BANK_B_INTERRUPT 39
#define INPUT_BANK_A_INTERRUPT 36
#define INPUT_BANK_B_INTERRUPT 39
/**
* Initiate ESPMega PRO Internal Components