Forum Krótkofalarskie PKI

sp6ryd
25.05.2017 02:22:11
QTH: Wrocław
Posty: 3955 #2428841
z testu RFM68:


//recovery instruction
shiftOut(DATA,CLOCK,MSBFIRST,0xff);
shiftOut(DATA,CLOCK,MSBFIRST,0xff);
shiftOut(DATA,CLOCK,MSBFIRST,0xff);
delay (10);
//send parameters
shiftOut(DATA,CLOCK,MSBFIRST,0x00); //Ox00
shiftOut(DATA,CLOCK,MSBFIRST,0x40); // DA MSB
shiftOut(DATA,CLOCK,MSBFIRST,0x28); // DA LSB

shiftOut(DATA,CLOCK,MSBFIRST,0x1C);
shiftOut(DATA,CLOCK,MSBFIRST,0x2C);
shiftOut(DATA,CLOCK,MSBFIRST,0x50);

......


void freq_space ()
{
shiftOut(DATA,CLOCK,MSBFIRST,0x1C);
shiftOut(DATA,CLOCK,MSBFIRST,0x2C);
shiftOut(DATA,CLOCK,MSBFIRST,0x4f);
}

void freq_mark ()
{
shiftOut(DATA,CLOCK,MSBFIRST,0x1C);
shiftOut(DATA,CLOCK,MSBFIRST,0x2C);
shiftOut(DATA,CLOCK,MSBFIRST,0x50);
}

Zobacz ten wpis w wątku
Aby pisać na forum musisz się zalogować !!!
rss · kontakt · załóż własne forum · korzystasz z forum? wesprzyj projekt!