change pin configuration

This commit is contained in:
Siwat Sirichai 2023-12-02 21:01:16 +07:00
parent e8d8e19e9b
commit e8a133c627
1 changed files with 14 additions and 14 deletions

View File

@ -40,21 +40,21 @@ I0-I2: Fan Switch
*/
// Pin Definition
#define FAN1_PIN 0
#define FAN2_PIN 1
#define FAN3_PIN 2
#define LIGHT1_PIN 3
#define LIGHT2_PIN 4
#define LIGHT3_PIN 5
#define LIGHT4_PIN 6
#define FAN1_PIN 4
#define FAN2_PIN 5
#define FAN3_PIN 6
#define LIGHT1_PIN 0
#define LIGHT2_PIN 1
#define LIGHT3_PIN 2
#define LIGHT4_PIN 3
#define AIR_PURIFIER_PIN 7
#define FAN1_BTN_PIN 0
#define FAN2_BTN_PIN 1
#define FAN3_BTN_PIN 2
#define LIGHT1_BTN_PIN 3
#define LIGHT2_BTN_PIN 4
#define LIGHT3_BTN_PIN 5
#define LIGHT4_BTN_PIN 6
#define FAN1_BTN_PIN 4
#define FAN2_BTN_PIN 5
#define FAN3_BTN_PIN 6
#define LIGHT1_BTN_PIN 0
#define LIGHT2_BTN_PIN 1
#define LIGHT3_BTN_PIN 2
#define LIGHT4_BTN_PIN 3
#define AIR_PURIFIER_BTN_PIN 7
// External LCD Configuration