Krolyxon
Commit 58c9c8f

Branches

Tags

Refs →

orion-rfsrcconfig.h

41 lines · 799 B · Objective-C

1#pragma once
2
3// ================= NRF24 =================
4#define CE1_PIN 10
5#define CSN1_PIN 11
6
7#define CE2_PIN 12
8#define CSN2_PIN 13
9
10#define NRF_SCK 18
11#define NRF_MISO 16
12#define NRF_MOSI 17
13
14// ================== OLED ===================
15#define OLED_SDA_PIN 8
16#define OLED_SCL_PIN 9
17
18/////////////////cc1101 vars//////////////
19// CC1101 via FSPI
20#define cc1101_SCK 15
21#define cc1101_MISO 41
22#define cc1101_MOSI 35
23
24//////////////cc1101(1)//////////
25#define CC1101_CS 40
26#define CC1101_GDO0 39
27#define CC1101_GDO2 42
28
29// SD Card via HSPI
30// #define SD_SCK 14
31// #define SD_MISO 39
32// #define SD_MOSI 38
33// #define SD_CS 37
34
35// =================== Buttons ====================
36#define BTN_UP 4
37#define BTN_DOWN 5
38#define BTN_SELECT 6
39#define BTN_BACK 7
40#define BTN_LEFT 1
41#define BTN_RIGHT 2