diff --git a/lacrosse.py b/lacrosse.py index d6b5ce5..e2aa2e9 100755 --- a/lacrosse.py +++ b/lacrosse.py @@ -10,7 +10,7 @@ import time rfm = Rfm69() rfm.SetParams( - Freq = 868.310, #MHz center frequency + Freq = 868.312, #MHz center frequency Datarate = 9.579, #17.241, #kbit/s baudrate ModulationType = rfm69.FSK, #modulation Deviation = 90, #90 kHz frequency deviation diff --git a/sensors.py b/sensors.py index 8eecd73..27111db 100644 --- a/sensors.py +++ b/sensors.py @@ -53,6 +53,7 @@ class lacross(rawsensor): self._data['RH'] = (rh, '%') self._data['batlo'] = bool(rh & 1<<7) self._data['RSSI'] = data[1] + self._data['AFC'] = data[2] def __str__(self): res = 'La crosse ' + str(self._data) # + ' ' + rawsensor.__str__(self);