My Project
CanSatNeXTPins.h
Go to the documentation of this file.
1 // Copyright (c) 2023 Samuli Nyman
2 // SPDX-License-Identifier: MIT
3 
4 #ifndef CanSatPins_h
5 #define CanSatPins_h
6 
7 #define BOOT 0
8 #define USB_UART_TX 1
9 #define USB_UART_RX 3
10 #define SD_CS 4
11 #define LED 5
12 #define GPIO12 12
13 #define MEAS_EN 13
14 #define SD_DET 14
15 #define GPIO15 15
16 #define GPIO16 16 // Alternate function: UART2_RX
17 #define GPIO17 17 // Alternate function: UART2_TX
18 #define SPI_CLK 18
19 #define SPI_MISO 19
20 #define I2C_SDA 21
21 #define I2C_SCL 22
22 #define SPI_MOSI 23
23 #define GPIO25 25
24 #define GPIO26 26
25 #define GPIO27 27
26 #define GPIO32 32 // Alternate function: ADC
27 #define GPIO33 33 // Alternate function: ADC
28 #define LDR 34
29 #define NTC 35
30 #define VDD 36
31 #define BATT 39
32 
33 #endif