|
stm32f407與nrf24l01的程序
51hei.png (4.15 KB, 下載次數(shù): 45)
下載附件
2021-5-5 04:31 上傳
單片機(jī)源程序如下:
- /* Includes ------------------------------------------------------------------*/
- #include "stm32f4xx.h"
- #include "stdio.h"
- #include "24L01.h"
- #include "uart.h"
- Set_RXTX_Info* Set_RXTX_gloable = NULL;
- #define REC //接受
- //#define SEND //發(fā)送
- int main(void)
- {
- // uchar Buff[TX_ADR_WIDTH]={'a','b','0','d','e'};
- u32 i;
- //RCC_Configuration();
- uart_init();
- printf("\r\n uart config ok!");
- config_24L01();
- printf("\r\n nrf24l01 config ok! ");
-
- Set_RF_RX_Mode(4);
- //IRQ_INIT();
- //NVIC_Configuration();
- init_io();
- Set_RF_RX_Mode(4);
- while(1){
- read();
- }
- }
復(fù)制代碼
所有資料51hei提供下載:
STM32F407 ARM 單片機(jī)開發(fā)板_nrf24l01程序 KEIL 軟件C源碼.7z
(731.95 KB, 下載次數(shù): 35)
2021-5-5 04:32 上傳
點擊文件名下載附件
下載積分: 黑幣 -5
|
評分
-
查看全部評分
|