
RF12 Program V1.1
Tel: +86-755-82973805 Fax: +86-755-82973550 E-mail: [email protected] http://www.hoperf.com
BUF[i++]=RF12_RDFIFO();
);
//reset FIFO and read to receive next Byte
30-----0x3F
Sum&=0x0FF;
==RF_RXBUF[16])
ayus(1);
=0;
}
}
}
0( void )
{
while(!nIRQ)
{
RF_RX
if(i==17)
{
i=0;
WriteCMD(0xCA80
WriteCMD(0xCA83);
CheckSum=0;
for(j=0;j<16;j++)
C=RF_RXBUF[j]; //add 0x
Check
if(CheckSum
{
LED=1;
}
Del
LED
}
void Write
{
SCK=0;
NOP();
SDI=0;
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();