#pragma once #define VERSION_MAIN_ID 1 #define VERSION_SUB_ID 1 /*********************************************************************************************************************** * =======================================================DEBUG======================================================= * ***********************************************************************************************************************/ #define DEBUG_UART huart1 //直接使用指令串口作为调试串口 #define DEBUG_LIGHT_PORT GPIOF #define DEBUG_LIGHT_PIN GPIO_PIN_10 /*********************************************************************************************************************** * ******************************************************编码器******************************************************* * ***********************************************************************************************************************/ #define camera_encoder htim4 #define driven_encoder_gear htim8