mirror of
https://github.com/merbanan/rtl_433.git
synced 2026-04-23 02:57:07 -04:00
convert LaCrosse TX from RAW to PRECISE
This commit is contained in:
@@ -213,11 +213,13 @@ static char *output_fields[] = {
|
||||
|
||||
r_device lacrossetx = {
|
||||
.name = "LaCrosse TX Temperature / Humidity Sensor",
|
||||
.modulation = OOK_PULSE_PWM_RAW,
|
||||
.short_limit = 952,
|
||||
.long_limit = 3000,
|
||||
/// .reset_limit = 32000,
|
||||
.reset_limit = 8000,
|
||||
.modulation = OOK_PULSE_PWM_PRECISE,
|
||||
.short_limit = 550, // 550 us pulse + 1000 us gap is 1
|
||||
.long_limit = 1400, // 1400 us pulse + 1000 us gap is 0
|
||||
.gap_limit = 3000, // max gap is 1000 us
|
||||
.reset_limit = 8000, // actually: packet gap is 29000 us
|
||||
.sync_width = 0, // not used
|
||||
.tolerance = 0, // raw mode
|
||||
.json_callback = &lacrossetx_callback,
|
||||
.disabled = 0,
|
||||
.demod_arg = 0, // No Startbit removal
|
||||
|
||||
Reference in New Issue
Block a user