10.01.2014 Views

RFM12B

RFM12B

RFM12B

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

uint CheckSum;<br />

RF12B Program<br />

Init_RF12();<br />

}<br />

while(1)<br />

{<br />

while(!nIRQ)<br />

{<br />

RF_RXBUF[i++]=RF12_RDFIFO();<br />

if(i==17)<br />

{<br />

i=0;<br />

WriteCMD(0xCA80);<br />

WriteCMD(0xCA83); //reset FIFO and read to receive next Byte<br />

CheckSum=0;<br />

for(j=0;j

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!