Krolyxon
Commit bd12e09

Branches

Tags

Refs →

orion-rffirmwareconfig.h

48 lines · 895 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 3
22#define cc1101_MOSI 46
23
24//////////////cc1101(1)//////////
25#define CC1101_CS 45
26#define CC1101_GDO0 21
27#define CC1101_GDO2 47
28
29/////////////cc1101(2)//////////
30#define CC1101_2_CS 40
31#define CC1101_2_GDO0 41
32#define CC1101_2_GDO2 42
33
34// SD Card via HSPI
35#define SD_SCK 14
36#define SD_MISO 39
37#define SD_MOSI 38
38#define SD_CS 37
39
40
41// =================== Buttons ====================
42#define BTN_UP 4
43#define BTN_DOWN 5
44#define BTN_SELECT 6
45#define BTN_BACK 7
46#define BTN_LEFT 1
47#define BTN_RIGHT 2
48