This commit is contained in:
YunHorn Technology 2022-09-20 14:39:43 +08:00
parent 8106a372b4
commit b16a153081
2 changed files with 24 additions and 24 deletions

File diff suppressed because one or more lines are too long

View File

@ -427,9 +427,9 @@ void Set_PCR_Parameter(char *str,uint8_t len)
LL_mDelay(500);
// printf("AT+LRSEND=10,0,2,<4F4B\r\n"); "OK" printf("AT+LRSEND=%d,%d,%d,<00\r\n",port,confirm,1); break; }
printf("AT+LRSEND=10,0,7,<%04x%04x%04x%02x\r\n",
printf("AT+LRSEND=13,0,7,<%04x%04x%04x%02x\r\n",
PCR_parameter.Start,PCR_parameter.End,PCR_parameter.Threshold,PCR_parameter.Gain);
//change to port 13 to align with other config
PCR PCR_parameter;
printf("Set Start=%dmm\r\n",PCR_parameter.Start);
printf("Set end=%dmm\r\n",PCR_parameter.End);