diff options
| author | krolyxon <me@krolyxon.com> | 2026-06-20 00:24:34 +0530 |
|---|---|---|
| committer | krolyxon <me@krolyxon.com> | 2026-06-20 00:24:34 +0530 |
| commit | 7e4cfad53699fabbecb6696508e5addcffc1b095 (patch) | |
| tree | ebff581b0989df578c312247e1dad514c956572b /src-arduino/config.h | |
| parent | 1f800b74329d4f8b1511b4cf2a0d031439e1038d (diff) | |
restructure to use rust source tree primarily
Diffstat (limited to 'src-arduino/config.h')
| -rw-r--r-- | src-arduino/config.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src-arduino/config.h b/src-arduino/config.h new file mode 100644 index 0000000..08c0e68 --- /dev/null +++ b/src-arduino/config.h @@ -0,0 +1,41 @@ +#pragma once + +// ================= NRF24 ================= +#define CE1_PIN 10 +#define CSN1_PIN 11 + +#define CE2_PIN 12 +#define CSN2_PIN 13 + +#define NRF_SCK 18 +#define NRF_MISO 16 +#define NRF_MOSI 17 + +// ================== OLED =================== +#define OLED_SDA_PIN 8 +#define OLED_SCL_PIN 9 + +/////////////////cc1101 vars////////////// +// CC1101 via FSPI +#define cc1101_SCK 15 +#define cc1101_MISO 41 +#define cc1101_MOSI 35 + +//////////////cc1101(1)////////// +#define CC1101_CS 40 +#define CC1101_GDO0 39 +#define CC1101_GDO2 42 + +// SD Card via HSPI +// #define SD_SCK 14 +// #define SD_MISO 39 +// #define SD_MOSI 38 +// #define SD_CS 37 + +// =================== Buttons ==================== +#define BTN_UP 4 +#define BTN_DOWN 5 +#define BTN_SELECT 6 +#define BTN_BACK 7 +#define BTN_LEFT 1 +#define BTN_RIGHT 2 |
