diff options
| author | hubmartin <hub.martin@gmail.com> | 2021-08-02 19:37:48 (GMT) |
|---|---|---|
| committer | hubmartin <hub.martin@gmail.com> | 2021-08-02 19:37:48 (GMT) |
| commit | 28abeae21bb370c45d26912bba4737a1cc6ddca7 (patch) | |
| tree | 2a4d45d952da9788234090219e216c842f59f321 /src/drivers/PinMap.h | |
| parent | 514481ef7f9c71ad816b31d979c6ab39ce9380dd (diff) | |
DRAFT: Put gpio pins to separate file
Diffstat (limited to 'src/drivers/PinMap.h')
| -rw-r--r-- | src/drivers/PinMap.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/drivers/PinMap.h b/src/drivers/PinMap.h new file mode 100644 index 0000000..61bb10e --- /dev/null +++ b/src/drivers/PinMap.h @@ -0,0 +1,25 @@ +#pragma once + +#ifdef WATCH_P8 + +// BatteryController.h +#define PINMAP_CHARGING_PIN 19 + +// Cst816s.h +#define PINMAP_CST816S_RESET_PIN 13 + +// SystemTask.h +#define PINMAP_BUTTON_PIN 17 + +#else + +// BatteryController.h +#define PINMAP_CHARGING_PIN 12 + +// Cst816s.h +#define PINMAP_CST816S_RESET_PIN 10 + +// SystemTask.h +#define PINMAP_BUTTON_PIN 13 + +#endif
\ No newline at end of file |
