convert LaCrosse TX from RAW to PRECISE

This commit is contained in:
Christian W. Zuckschwerdt
2018-01-22 09:32:29 +01:00
parent 8dc9a3664b
commit b2ee9bf3d0

View File

@@ -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