PWM encoding assumption overrides
tresacton opened this issue · comments
Some devices interpret 110 (long pulse) as PWM 0.
The app currently always interprets 110 (long pulse) as a 1.
Implement a method to override this assumption on a per-device level. Probably best to add a flag column to device model to determine whether this needs to be 'flipped' so that it consistently occurs throughout the PWM decode method calls once set.
wb: flip
partially implemented. only set in decode method, so wont work for generate at present. still needs a form and a way to identify whether its set in the gui. db column added to device to support this.
fixed in: 87e9b78
now has gui elements etc. still need to look at generate view and see if/how this change applies there.
ok fixed for generate in: aed1dba
closing