39 lines
788 B
C
39 lines
788 B
C
/**
|
|
* @file config.h
|
|
* @author Alexander Klein (alex@kleiax.de)
|
|
* @brief Some defines to configere the project.
|
|
* @version 0.1
|
|
* @date 2022-02-15
|
|
*
|
|
* @copyright Copyright (c) 2022
|
|
*
|
|
*/
|
|
|
|
/**
|
|
* @brief The MAC-Address saved in PS3-Controller
|
|
*
|
|
* The PS3-Controller only connects to the address which is saved in it.
|
|
*/
|
|
#define CONTROLLER_MAC "24:62:AB:F2:4B:3A"
|
|
|
|
/**
|
|
* @brief Prevents creation of the global object
|
|
*
|
|
* The PS3-Controller class creates a global object to use.
|
|
*/
|
|
#define NO_GLOBAL_INSTANCES
|
|
|
|
/**
|
|
* @name SPI-Pins
|
|
* @brief Pins for SPI communication with the gnss module
|
|
*/
|
|
///@{
|
|
#define UBLOX_GNSS_SPI_CS 17
|
|
#define UBLOX_GNSS_SPI_COPI 16
|
|
#define UBLOX_GNSS_SPI_CIPO 4
|
|
#define UBLOX_GNSS_SPI_SCK 5
|
|
///@}
|
|
|
|
#define RF24_CSN_PIN 18
|
|
#define RF24_CE_PIN 2
|