Thunderbots Project
Loading...
Searching...
No Matches
pi_constants.h
1#pragma once
2
3#include "software/embedded/platform.h"
4
5constexpr int SPI_CS_DRIVER_TO_CONTROLLER_MUX_0_GPIO = 16;
6constexpr int SPI_CS_DRIVER_TO_CONTROLLER_MUX_1_GPIO = 19;
7constexpr int MOTOR_DRIVER_RESET_GPIO = 12;
8constexpr int DRIVER_CONTROL_ENABLE_GPIO = 22;
9
10// Path to the CPU thermal zone temperature file
11constexpr const char CPU_TEMP_FILE_PATH[] = "/sys/class/thermal/thermal_zone0/temp";
12
13constexpr Platform PLATFORM = Platform::RASP_PI;