extern void nrf905_Init(); extern void nrf905_SendData(); extern void nrf905_ReadData();
nRF905 源代码
nRF905[1]无线芯片是由挪威NORDIC公司出品的低于1GHz无线数传芯片,主要工作于433MHz、868MHz和915MHz的ISM频段。芯片内置频率合成器、功率放大器、晶体振荡器和调制器等功能模块,输出功率和通信频道可通过程序进行配置。非常适合于低功耗、低成本的系统设计…
.module nrf905.C .area text(rom, con, rel) .dbfile D:\IccAvr\Pei\ptr8000\nrf905.C .dbfunc e nrf905_Config _nrf905_Config fV …
XL H 2 areas 17 global symbols M nrf905.C S push_gset1 Ref0000 S push_gset2 Ref0000 S _DelayMs Ref0000 S _DelayUs Ref0000 S…
#include "config.h" extern void DelayMs(uchar ms); extern void DelayUs(uint us); #define SIZE 32 uchar TxBuf[SIZE],RxBuf…
#define SIZE 3 uchar TxBuf[SIZE],RxBuf[SIZE]; #define RX_ADDRESS 0x12345678 //接收有效地址(本方) #define TX_ADD…
nrf905.h /*---------------------------------------------------------- 具备跳号跳频和跳址的nrf905的C51演示程序nrf905.h HotPower@126.com 2…
#include #include #include #include void main(void) { init(); while(1) { indata(); } } void init(void) …
typedef unsigned char uchar; typedef unsigned int uint; /* sbit CSN=P1^3; sbit SCLK=P1^5; sbit DR=P1^0; sbit AM=P1^0; …
#include #include #include #include void main(void) { init(); while(1) { outdata(); // delayms(1000); } }…
typedef unsigned char uchar; typedef unsigned int uint; static char code com_on2[]= {0xff,0x00,0x01,0xaa,0xff,0xff,0xff,0x00…