91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 5KB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2021-01-05
  • 語言: 其他
  • 標簽: stm32??BLE??串口??

資源簡介

STM32 串口3進行AT指令BLE模塊測試,串口1狀態打印,STM32 串口3進行AT指令BLE模塊測試,串口1狀態打印

資源截圖

代碼片段和文件信息

#include?“delay.h“
#include?“usart.h“?
#include?“usart3.h“?
#include?“BLE.h“
#include?“string.h“

int?BLEinit_finish=0;
u16?lentin;
u8?SSID_buf[17]PSD_buf[17];
u8?SSID[17]PSD[17];
u8?Wifi_SSID[17]Wifi_PSD[17];

void?BLE_init(void)
{
int?cases=0;


GPIO_InitTypeDef??GPIO_InitStructure;
?
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB?ENABLE); ?//使能端口時鐘

GPIO_InitStructure.GPIO_Pin?=?GPIO_Pin_0; ??????//連接狀態引腳P16
GPIO_InitStructure.GPIO_Mode?=?GPIO_Mode_IN_FLOATING;?
GPIO_Init(GPIOB?&GPIO_InitStructure);

GPIO_InitStructure.GPIO_Pin?=?GPIO_Pin_7; ??????//連接狀態引腳P01
GPIO_InitStructure.GPIO_Mode?=?GPIO_Mode_Out_PP;
GPIO_InitStructure.GPIO_Speed?=?GPIO_Speed_50MHz;
GPIO_Init(GPIOA?&GPIO_InitStructure);
GPIO_SetBits(GPIOAGPIO_Pin_7);


?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????4266??2018-12-14?15:31??code\BLE\BLE.c

?????文件????????232??2018-12-12?14:27??code\BLE\BLE.h

?????文件???????7996??2018-12-12?14:55??code\USART2\usart2.c

?????文件???????1280??2018-12-12?14:53??code\USART2\usart2.h

?????目錄??????????0??2018-12-14?15:33??code\BLE

?????目錄??????????0??2018-12-14?15:33??code\USART2

?????目錄??????????0??2018-12-14?15:33??code

-----------?---------??----------?-----??----

????????????????13774????????????????????7


評論

共有 條評論