kopia lustrzana https://github.com/SnkMtn000/Arduino-RFM69HCW-GPS
Update and rename qst2_promini33_rfm69_FELD_HELL_GPS_20180116.ino to promini33_rfm69_FELD_HELL_GPS_20180116.ino
rodzic
0edf236237
commit
b0617c99fd
|
@ -27,7 +27,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
|
||||
|
||||
|
@ -87,7 +87,7 @@ void fetchGPS() { //Remeber to only enable and softwear serial as needed, to th
|
|||
|
||||
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