-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h
52 lines (39 loc) · 1.25 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//============================
// Configuration
//============================
//----------------
// ACTIVE LEDS
//----------------
//This define is for general LED usage.
#define USE_LED
//If you have a RGB led connected this will indicate status signals with color!
#define USE_RGB
//RGB pinout options.
#define RGB_PIN_RED 0
#define RGB_PIN_GREEN 1
#define RGB_PIN_BLUE 2
#define RGB_RED 100, 0, 0
#define RGB_GREEN 0, 100, 0
#define RGB_BLUE 0, 0, 100
//-----------------
// ACTIVE LOGGING
//-----------------
//This define activates the logging functions, it works only if a SD card is inserted.
#define DO_LOGGING
//This define pipes the SD_CARD input to serial.
//#define FAKE_SD
//---------------
// IMU CONFIG
//---------------
//How often the IMU querrys in milliseconds
#define IMU_DELAY 500
//---------------
// BARO CONFIG
//---------------
#define BMP_SCK 13
#define BMP_MISO 12
#define BMP_MOSI 11
#define BMP_CS 10
//Falling Treshhold is the max falling distance from the maximum hight after which the parachute is triggered.
//don't set it too low or the rocket opens the parachute before apogee. Don't set it to high or the parachute opens to late and the parachute breaks.
#define FALLING_TH 10 //in meters, ABSOLUTLY dont set it under 1m.