
RF12 Program V1.1
Tel: +86-755-82973805 Fax: +86-755-82973550 E-mail: [email protected] http://www.hoperf.com
CK=1;
NOP();
1( void )
CK=1;
NOP();
uint CMD )
6;
=0;
&0x8000)
Write0();
MD<<1;
CK=0;
nSEL=1;
S
}
void Write
{
SCK=0;
NOP();
SDI=1;
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
NOP();
S
}
void WriteCMD(
{
uchar n=1
SCK=0;
nSEL
while(n--)
{
if(CMD
Write1();
else
CMD=C
}
S
}