欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

標題: stm32f407與nrf24l01的程序 [打印本頁]

作者: 1923504446    時間: 2021-5-3 17:56
標題: stm32f407與nrf24l01的程序
stm32f407與nrf24l01的程序


單片機源程序如下:

  1. /* Includes ------------------------------------------------------------------*/
  2. #include "stm32f4xx.h"
  3. #include "stdio.h"
  4. #include "24L01.h"
  5. #include "uart.h"



  6. Set_RXTX_Info* Set_RXTX_gloable = NULL;

  7. #define REC                                          //接受
  8. //#define SEND                                  //發送

  9. int main(void)
  10. {
  11. //    uchar Buff[TX_ADR_WIDTH]={'a','b','0','d','e'};
  12.         u32 i;

  13.     //RCC_Configuration();

  14.         uart_init();
  15.     printf("\r\n uart config ok!");

  16.         config_24L01();
  17.     printf("\r\n nrf24l01 config ok! ");
  18.        
  19.          Set_RF_RX_Mode(4);
  20.    //IRQ_INIT();
  21.         //NVIC_Configuration();

  22.     init_io();
  23.     Set_RF_RX_Mode(4);

  24.     while(1){

  25.          read();

  26.     }
  27. }
復制代碼

所有資料51hei提供下載:
STM32F407 ARM 單片機開發板_nrf24l01程序 KEIL 軟件C源碼.7z (731.95 KB, 下載次數: 35)







歡迎光臨 (http://www.raoushi.com/bbs/) Powered by Discuz! X3.1