文件名称:nRF2401
介绍说明--下载内容均来自于网络,请自行研究使用
无线传输,结合凌阳单片机
*P_Watchdog_Clear = 0x0001
if((nRF2401_RxStatus()) == 1) // nRF2401A有数据请求
{
nRF2401_ReceiveByte(RxBuf) // 接收数据
switch(RxBuf[0])
{
case 1:
PlaySnd(0) // 播放语音"Key1"
break
case 2:
PlaySnd(1) // 播放语音"Key3"
break
case 3:
PlaySnd(2) // 播放语音"Key2"
break
default:
break
}
}
-wirless
*P_Watchdog_Clear = 0x0001
if((nRF2401_RxStatus()) == 1) // nRF2401A有数据请求
{
nRF2401_ReceiveByte(RxBuf) // 接收数据
switch(RxBuf[0])
{
case 1:
PlaySnd(0) // 播放语音"Key1"
break
case 2:
PlaySnd(1) // 播放语音"Key3"
break
case 3:
PlaySnd(2) // 播放语音"Key2"
break
default:
break
}
}
-wirless
(系统自动生成,下载前可以参看下载内容)
下载文件列表
nRF2401\nRF2401 无线传输模块\Demo Code\Demo\Receive\A1600.h
.......\....................\.........\....\.......\A1600.inc
.......\....................\.........\....\.......\Device.env
.......\....................\.........\....\.......\main.c
.......\....................\.........\....\.......\Makefile
.......\....................\.........\....\.......\nRF2401.c
.......\....................\.........\....\.......\nRF2401.h
.......\....................\.........\....\.......\Passpoint_Register.txt
.......\....................\.........\....\.......\Passpoint_Result.txt
.......\....................\.........\....\.......\Receive.env
.......\....................\.........\....\.......\Receive.h
.......\....................\.........\....\.......\Receive.opt
.......\....................\.........\....\.......\Receive.rc
.......\....................\.........\....\.......\Receive.set
.......\....................\.........\....\.......\Receive.spj
.......\....................\.........\....\.......\Resource.asm
.......\....................\.........\....\.......\Resource.inc
.......\....................\.........\....\.......\SACMv41dx_061A.LIB
.......\....................\.........\....\.......\SACM_A1600.asm
.......\....................\.........\....\.......\SACM_A1600_User_C.c
.......\....................\.........\....\.......\Snd.c
.......\....................\.........\....\.......\Snd.h
.......\....................\.........\....\.......\.ound\1.A24
.......\....................\.........\....\.......\.....\2.A24
.......\....................\.........\....\.......\.....\3.A24
.......\....................\.........\....\.......\SPCE061A.h
.......\....................\.........\....\.......\SPCE061A.inc
.......\....................\.........\....\Send\Device.env
.......\....................\.........\....\....\main.c
.......\....................\.........\....\....\Makefile
.......\....................\.........\....\....\nRF2401.c
.......\....................\.........\....\....\nRF2401.h
.......\....................\.........\....\....\Resource.asm
.......\....................\.........\....\....\Resource.inc
.......\....................\.........\....\....\Send.env
.......\....................\.........\....\....\Send.h
.......\....................\.........\....\....\Send.opt
.......\....................\.........\....\....\Send.rc
.......\....................\.........\....\....\Send.set
.......\....................\.........\....\....\Send.spj
.......\....................\.........\....\....\SPCE061A.h
.......\....................\.........\....\....\SPCE061A.inc
.......\....................\.........\Exa1\Receive\Device.env
.......\....................\.........\....\.......\Exa1_Receive.env
.......\....................\.........\....\.......\Exa1_Receive.h
.......\....................\.........\....\.......\Exa1_Receive.opt
.......\....................\.........\....\.......\Exa1_Receive.rc
.......\....................\.........\....\.......\Exa1_Receive.set
.......\....................\.........\....\.......\Exa1_Receive.spj
.......\....................\.........\....\.......\main.c
.......\....................\.........\....\.......\Makefile
.......\....................\.........\....\.......\nRF2401.c
.......\....................\.........\....\.......\nRF2401.h
.......\....................\.........\....\.......\Resource.asm
.......\....................\.........\....\.......\Resource.inc
.......\....................\.........\....\.......\SPCE061A.h
.......\....................\.........\....\.......\SPCE061A.inc
.......\....................\.........\....\Send\Device.env
.......\....................\.........\....\....\Exa1_Send.env
.......\....................\.........\....\....\Exa1_Send.h
.......\....................\.........\....\....\Exa1_Send.opt
.......\....................\.........\....\....\Exa1_Send.rc
.......\....................\.........\....\....\Exa1_Send.set
.......\....................\.........\....\....\Exa1_Send.spj
.......\....................\.........\....\....\main.c
.......\....
.......\....................\.........\....\.......\A1600.inc
.......\....................\.........\....\.......\Device.env
.......\....................\.........\....\.......\main.c
.......\....................\.........\....\.......\Makefile
.......\....................\.........\....\.......\nRF2401.c
.......\....................\.........\....\.......\nRF2401.h
.......\....................\.........\....\.......\Passpoint_Register.txt
.......\....................\.........\....\.......\Passpoint_Result.txt
.......\....................\.........\....\.......\Receive.env
.......\....................\.........\....\.......\Receive.h
.......\....................\.........\....\.......\Receive.opt
.......\....................\.........\....\.......\Receive.rc
.......\....................\.........\....\.......\Receive.set
.......\....................\.........\....\.......\Receive.spj
.......\....................\.........\....\.......\Resource.asm
.......\....................\.........\....\.......\Resource.inc
.......\....................\.........\....\.......\SACMv41dx_061A.LIB
.......\....................\.........\....\.......\SACM_A1600.asm
.......\....................\.........\....\.......\SACM_A1600_User_C.c
.......\....................\.........\....\.......\Snd.c
.......\....................\.........\....\.......\Snd.h
.......\....................\.........\....\.......\.ound\1.A24
.......\....................\.........\....\.......\.....\2.A24
.......\....................\.........\....\.......\.....\3.A24
.......\....................\.........\....\.......\SPCE061A.h
.......\....................\.........\....\.......\SPCE061A.inc
.......\....................\.........\....\Send\Device.env
.......\....................\.........\....\....\main.c
.......\....................\.........\....\....\Makefile
.......\....................\.........\....\....\nRF2401.c
.......\....................\.........\....\....\nRF2401.h
.......\....................\.........\....\....\Resource.asm
.......\....................\.........\....\....\Resource.inc
.......\....................\.........\....\....\Send.env
.......\....................\.........\....\....\Send.h
.......\....................\.........\....\....\Send.opt
.......\....................\.........\....\....\Send.rc
.......\....................\.........\....\....\Send.set
.......\....................\.........\....\....\Send.spj
.......\....................\.........\....\....\SPCE061A.h
.......\....................\.........\....\....\SPCE061A.inc
.......\....................\.........\Exa1\Receive\Device.env
.......\....................\.........\....\.......\Exa1_Receive.env
.......\....................\.........\....\.......\Exa1_Receive.h
.......\....................\.........\....\.......\Exa1_Receive.opt
.......\....................\.........\....\.......\Exa1_Receive.rc
.......\....................\.........\....\.......\Exa1_Receive.set
.......\....................\.........\....\.......\Exa1_Receive.spj
.......\....................\.........\....\.......\main.c
.......\....................\.........\....\.......\Makefile
.......\....................\.........\....\.......\nRF2401.c
.......\....................\.........\....\.......\nRF2401.h
.......\....................\.........\....\.......\Resource.asm
.......\....................\.........\....\.......\Resource.inc
.......\....................\.........\....\.......\SPCE061A.h
.......\....................\.........\....\.......\SPCE061A.inc
.......\....................\.........\....\Send\Device.env
.......\....................\.........\....\....\Exa1_Send.env
.......\....................\.........\....\....\Exa1_Send.h
.......\....................\.........\....\....\Exa1_Send.opt
.......\....................\.........\....\....\Exa1_Send.rc
.......\....................\.........\....\....\Exa1_Send.set
.......\....................\.........\....\....\Exa1_Send.spj
.......\....................\.........\....\....\main.c
.......\....