ASCEND Flight Software
Loading...
Searching...
No Matches
ascendfsw
include
PayloadConfig.h
Go to the documentation of this file.
1
10
#ifndef PAYLOAD_CONFIG_H
11
#define PAYLOAD_CONFIG_H
12
14
#define ERROR_PIN_2 22
16
#define ERROR_PIN_1 15
18
#define ERROR_PIN_0 14
19
20
// sensors
22
#define LSM9DS1_XGCS_PIN 3
24
#define LSM9DS1_MCS_PIN 28
25
27
// #define MTK3339_CS_PIN 20
28
#define SERIAL2_RX_PIN 9
29
#define SERIAL2_TX_PIN 8
30
#define GPS_I2C 1
31
33
// [1, 1, 1, 0, 1, A1, A0]
34
#define UV_I2C_ADDR 0x74
35
37
#define OZONE_I2C_ADDR 0x73
38
40
#define I2C1_SCL_PIN 27
41
#define I2C1_SDA_PIN 26
42
44
#define TMP117_I2C_ADDR 0x48
45
47
#define STRATOSENSE_I2C Wire1
48
49
// storages
51
#define STORING_PACKETS 1
52
53
// for radio
55
#define SERIAL1_RX_PIN 1
57
#define SERIAL1_TX_PIN 0
58
60
#define SD_SPI1 1
62
#define SD_CS_PIN 13
63
65
#define FLASH_SPI1 0
67
#define FLASH_CS_PIN 17
68
69
// spi1
71
#define SPI1_MISO_PIN 12
73
#define SPI1_SCK_PIN 10
75
#define SPI1_MOSI_PIN 11
76
77
// main pin definitions
79
#define ON_BOARD_LED_PIN 25
81
#define HEARTBEAT_PIN_0 20
83
#define HEARTBEAT_PIN_1 21
84
85
// multicore transfer queue
86
#define QT_ENTRY_SIZE 500
87
#define QT_MAX_SIZE 10
88
89
// packet properties
90
const
uint8_t
SYNC_BYTES
[] = {
'A'
,
'S'
,
'U'
,
'!'
};
91
92
// temporary toggle macros for testing
93
#define PACKET_SYSTEM_TESTING 1
94
95
#endif
SYNC_BYTES
const uint8_t SYNC_BYTES[]
Definition
PayloadConfig.h:90
Generated by
1.9.8