摘要:
https://www.cnblogs.com/armyfai/p/3985660.html 阅读全文
posted @ 2023-05-11 12:49
登云上人间
阅读(19)
评论(0)
推荐(1)
摘要:
变量 __align(8) u8 PubMsgTopic1[256] = "AT+CLOUDPUB=\"/sys/xxx/xxx/thing/event/property/post\",1,\"{"; __align(8) u8 PubMsgTopic2[256] = ",\\22id\\22:\\ 阅读全文
posted @ 2023-05-11 01:12
登云上人间
阅读(72)
评论(0)
推荐(0)
摘要:
typedef int32_t s32; typedef int16_t s16; typedef int8_t s8; typedef const int32_t sc32; typedef const int16_t sc16; typedef const int8_t sc8; typedef 阅读全文
posted @ 2023-05-11 01:06
登云上人间
阅读(14)
评论(0)
推荐(0)
摘要:
一、stm32cubeMX配置 1.1 GPIO配置 略.... 1.2 USART配置 见其他.... 二、代码 变量 //获取RSSI char *strx; char *str_xx=",-"; char *loc; char *token; int RSSI=0; 2.1 无线模块配置 vo 阅读全文
posted @ 2023-05-11 01:05
登云上人间
阅读(198)
评论(0)
推荐(0)
摘要:
一、stm32cubeMX配置 二、代码 定时器回调函数 void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) { if (htim == (&htim3)) { } else if (htim == (&htim2)) { } } 阅读全文
posted @ 2023-05-11 00:37
登云上人间
阅读(51)
评论(0)
推荐(1)
摘要:
一、stm32cubeMX配置 二、函数配置 2.1 串口接收回调函数 /** * @brief Rx传输回调函数 * @param huart: UART句柄类型指针 * @retval 无 */ void HAL_UART_RxCpltCallback(UART_HandleTypeDef *h 阅读全文
posted @ 2023-05-11 00:16
登云上人间
阅读(231)
评论(0)
推荐(0)

浙公网安备 33010602011771号