【类 型】:test

【原  因】:测试
【过  程】:
【影  响】:

# 类型 包含:
# feat:新功能(feature)
# fix:修补bug
# docs:文档(documentation)
# style: 格式(不影响代码运行的变动)
# refactor:重构(即不是新增功能,也不是修改bug的代码变动)
# test:增加测试
# chore:构建过程或辅助工具的变动
This commit is contained in:
air 2025-04-01 19:03:26 +08:00
parent a0a8004762
commit 148e235523
3 changed files with 11 additions and 13 deletions

View File

@ -12,7 +12,7 @@
platform = espressif32 platform = espressif32
board = esp32doit-devkit-v1 board = esp32doit-devkit-v1
framework = arduino framework = arduino
monitor_speed = 115200 monitor_speed = 57600
upload-port = COM[14] upload-port = COM[14]
lib_deps = lib_deps =
bogde/HX711@^0.7.5 bogde/HX711@^0.7.5

View File

@ -18,8 +18,8 @@
////LED ////LED
#define LED_DATA_PIN 25 #define LED_DATA_PIN 25
// Moto-CAN // Moto-CAN
#define MOTO_CAN_RX 26 #define MOTO_CAN_RX 27
#define MOTO_CAN_TX 27 #define MOTO_CAN_TX 26
/// serial1 /// serial1
#define SERIAL_REPORT_TX 5 #define SERIAL_REPORT_TX 5
#define SERIAL_REPORT_RX 18 #define SERIAL_REPORT_RX 18
@ -29,8 +29,6 @@
#define TM_INSTORE_DELAY_WEIGHT 200 // 入仓动力延时关闭时间生效的重量(g),免得空钩也延时关闭导致线拉紧 ms #define TM_INSTORE_DELAY_WEIGHT 200 // 入仓动力延时关闭时间生效的重量(g),免得空钩也延时关闭导致线拉紧 ms
#define TM_INSTORE_NOWEIGHT_DELAY 50 // 空钩完全不延时也可能顶部按键按不下去,加一点延时 ms #define TM_INSTORE_NOWEIGHT_DELAY 50 // 空钩完全不延时也可能顶部按键按不下去,加一点延时 ms
enum HookStatus enum HookStatus
{ {
HS_UnInit, // 还未初始化 HS_UnInit, // 还未初始化

View File

@ -109,7 +109,7 @@ const uint16_t MAV_CMD_FC_HOOK_RECOVERY = 43; // 飞控发的---收线
// char* password = (char*)"12345678"; //wifi密码 // char* password = (char*)"12345678"; //wifi密码
char *ssid = (char *)"flicube"; // wifi帐号 char *ssid = (char *)"flicube"; // wifi帐号
char *password = (char *)"fxmf0622"; // wifi密码 char *password = (char *)"fxmf0622"; // wifi密码
char *mqttServer = (char *)"152.32.162.75"; //"szdot.top"; //mqtt地址 char *mqttServer = (char *)"szdot.top"; //"szdot.top"; //mqtt地址
int mqttPort = 1883; // mqtt端口 int mqttPort = 1883; // mqtt端口
char *mqttName = (char *)"admin"; // mqtt帐号 char *mqttName = (char *)"admin"; // mqtt帐号
char *mqttPassword = (char *)"123456"; // mqtt密码 char *mqttPassword = (char *)"123456"; // mqtt密码