Spaceshot Flight Software
The Illinois Space Society's Homemade Rocket Firmware
pins.h
1
#ifndef PINS_H
2
#define PINS_H
3
4
#define AC_SERVO_PIN 14
5
6
#define LED_BLUE 28
7
#define LED_RED 31
8
#define LED_ORANGE 30
9
#define LED_GREEN 29
10
11
// define magnetometer chip select pin
12
#define LSM9DS1_M_CS 3
13
// define accel/gyro chip select pin
14
#define LSM9DS1_AG_CS 2
15
// define barometer chip select pin
16
#define MS5611_CS 9
17
// gps chip select pin
18
// magwired onto servo2 pin because reasons
19
#define ZOEM8Q0_CS 16
20
21
#define H3LIS331DL_CS 5
22
#define RFM95_CS 41
23
#define RFM95_INT 40
24
#define RFM95_RST 20
25
26
// /* Pins for testing on breadboard radio
27
// #define RFM95_CS 10
28
// #define RFM95_RST 15
29
// #define RFM95_EN 14
30
// #define RFM95_INT 16
31
// #define LED 13 // Blinks on receipt, nonessential
32
// */
33
34
// kx chip select pin
35
#define KX134_CS 4
36
37
#endif
flight
mcu
lib
teensyShared
pins.h
Generated by
1.9.1