登录
首页 » c » 基于STM32F103ZET6的NRF24L01无线通信

基于STM32F103ZET6的NRF24L01无线通信

于 2022-03-17 发布 文件大小:8.58 MB
0 112
下载积分: 2 下载次数: 1

代码说明:

开机时系统先检测 NRF24L01 模块是否存在,在检测到NRF24L01 模块之后,根据 K_UP 和 K_DOWN 按键来决定模块的工作模式,在设定好工作模式之后,就会开发发送/接收数据,同样用 D1 指示灯来指示程序正在运行。程序运行时先通过 NRF24L01_Check 函数检测 NRF24L01 是否存在,如果存 在,则让用户选择发送模式(K_DOWN)还是接收模式(K_UP),在确定模式之后,设置 NRF24L01 的工作模式,然后执行相应的数据发送/接收处理。在测试的时候一定要注意,两块单片机一个选择发送模式,一个选择接收模式

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Express_Calculator
    用C写的表达式计算器,不但可以完成四则运算,还可以处理一些函数运算,可以配合graphviz画出表达式树和计算过程。(Written using C expression calculator, not only can complete the four operations, but also can deal with a number of functions computing, you can tie in with graphviz to draw the expression tree and calculation process.)
    2009-09-14 14:36:26下载
    积分:1
  • MacOSDemo
    说明:  MacOS APP 开发, 基础控件的介绍与学习(MacOS APP Development, Introduction and Learning of Basic Controls)
    2019-03-21 10:36:08下载
    积分:1
  • 卫星轨道坐标的计算方法
    说明:  详细介绍了轨道方程,轨道六要素,以及坐标计算方法,包括椭圆轨道面坐标、大地空间直角坐标以及经纬度坐标的计算方法(The orbit equation, the six elements of orbit and the coordinate calculation method are introduced in detail, including the calculation method of elliptical orbit, plane coordinates, geodetic space, rectangular coordinates and longitude and latitude coordinates)
    2020-06-16 09:20:01下载
    积分:1
  • 简单的提取背景的算法实现
    转载,仅供参考。平均法视频关键帧提取。转载,仅供参考。平均法视频关键帧提取。转载,仅供参考。平均法视频关键帧提取。转载,仅供参考。平均法视频关键帧提取。转载,仅供参考。平均法视频关键帧提取。
    2022-03-19 05:17:25下载
    积分:1
  • DS18B20DS130212864Calendar
    万年历加温度显示 51单片机 晶振12m(Calendar plus 51 single-chip crystal oscillator temperature display 12m)
    2010-09-01 15:12:41下载
    积分:1
  • MultiThread
    多线程编程测试,主要测试互斥量与临界区的使用(The use of multi-threaded programming test, the main test mutex and critical section)
    2013-04-25 23:53:14下载
    积分:1
  • 查表法获取正弦函数值
    通过查找const FLOAT32 SinTable[91]内的值获取正弦函数值,只需要调用FLOAT32 getFastSin(int angle)函数,输入值为角度,即可获得该角度下的正弦值。简单易用,精度还行。非常适用于不带三角函数的系统。
    2022-01-25 21:27:12下载
    积分:1
  • poly-cacu
    本题要求实现对两个多项式的简单计算,实验要求完成一元多项式以及多元多项式的四则运算,计算后能将结果输出。 对于多项式,它由系数,未知元以及指数组成,考虑到它包括的属性较多,故链表是一种非常不错的选择。题目有两个关键点:第一、识别多项式每一项的系数与指数;第二、对结果能很好的合并同类项。 解题方法:链表实现,多项式指数系数识别,加减乘除等四则运算分别模拟笔算的过程。多元多项式增加指数数组,方法与一元相似。 (This question required to achieve a simple calculation of the two polynomials, the experimental requirements to complete a polynomial and multivariate polynomial arithmetic, calculation results can output. For the polynomial, which consists of coefficients, the unknown element and the index composition, given that it includes more properties, so the list is a very good choice. There are two key questions: First, identify the polynomial coefficients and each of the index Second, the results can be a good merger of similar items. Problem-solving approach: linked list, index polynomial coefficients identification, addition, subtraction and other arithmetic were simulated written calculation process. Increase the index of multiple polynomial array method and a dollar similar.)
    2011-10-04 21:04:38下载
    积分:1
  • Dotion1807101823
    说明:  该程序编写了STM32F103三个串口初始化程序,可快速调用,同时支持接收和发送单个字符和多个字符,并存储数据,方便接收数据后的通信协议校验,支持自定义接收数据最大长度,重写printf函数。(Three initialization programs of STM32F103 serial port are written in this program, which can be called quickly, and support to receive and send single character and multiple characters at the same time, and store data, so as to facilitate the verification of communication protocol after receiving data, support to customize the maximum length of received data, and rewrite printf function.)
    2020-12-16 13:49:12下载
    积分:1
  • CCESocket_demo
    一个为WinCE写的支持TCP/UDP socket的类,以及使用示例,包含一个server端和一个client端(a WinCE wrote to the support of TCP/UDP socket types, and the use of exemplars, includes a server and a client-side)
    2007-05-18 01:13:57下载
    积分:1
  • 696518资源总数
  • 105901会员总数
  • 40今日下载