add AFC value
This commit is contained in:
parent
70ce49c699
commit
aaf8b43ac3
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue