#include"main.h"#include"cc1101.h"#include"lcd1602.h"void main(void){INTI;UCHAR leng=0;//待接收字节长度UCHAR TXBuf[8]={0};//8字节,如果需要更长的数据包,请正确设置UCHAR RXBuf[8]={0};l/接收缓存区InitLcd1602();WriteAddressLcd1602(1,0);WriteCharForLCD1602("The CC1101 Test!");WriteAddressLcd1602(2,0);WriteCharForLCD1602("Design by XuJiel");Delaynms(6000);ClearLcd16020;Cpulnit();POWER_UP_RESET_CC1100(0;halRfWriteRfSetings();halSpiWriteBurstReg(CCxxx0_PATABLE,PaTabel,8);TxBuf[0]=1;
标签:
cc1101
程序
电路图
上传时间:
2022-08-10
上传用户:ttalli