测试 #9

Closed
tk wants to merge 3 commits from 测试 into dev
3 changed files with 11 additions and 13 deletions
Showing only changes of commit 148e235523 - Show all commits

View File

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

View File

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

View File

@ -109,7 +109,7 @@ const uint16_t MAV_CMD_FC_HOOK_RECOVERY = 43; // 飞控发的---收线
// char* password = (char*)"12345678"; //wifi密码
char *ssid = (char *)"flicube"; // 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端口
char *mqttName = (char *)"admin"; // mqtt帐号
char *mqttPassword = (char *)"123456"; // mqtt密码