kopia lustrzana https://github.com/SnkMtn000/Arduino-RFM69HCW-GPS
Update and rename qst2_promini33_rfm69_FELD_HELL_Beacon_20180121.ino to promini33_rfm69_FELD_HELL_Beacon_20180121.ino
rodzic
1ee1478f38
commit
0edf236237
|
@ -25,7 +25,7 @@
|
|||
#define POWER 0x7F // 17 dBm
|
||||
#define ssPin 10 // SS
|
||||
#define rstPin 9 // reset pin
|
||||
#define radioPower 0x7F
|
||||
#define MODULATION 0x48 // Modulation for OOK, Continuous w.o bit synch, OOK, no shaping
|
||||
#define myFrequency 433200000
|
||||
//#define myFrequency 915000000
|
||||
|
||||
|
@ -62,7 +62,7 @@ void buildString() {
|
|||
|
||||
void setupRFM69() {
|
||||
writeReg(0x01,0x0C);
|
||||
writeReg(0x02,0x34); // Modulation for OOK, Continuous w.o bit synch, OOK, no shaping
|
||||
writeReg(0x02,MODULATION);
|
||||
setFrequency(myFrequency);
|
||||
Serial.print("Frequency set to "); Serial.println(myFrequency);
|
||||
writeReg(0x26,0x07); // CLK off to save power
|
Ładowanie…
Reference in New Issue