Switch 433 data rechiver to new baud rate and fixed checksum system
This commit is contained in:
parent
206024b2c7
commit
27509e21ee
|
@ -23,9 +23,9 @@ private:
|
|||
|
||||
//constants
|
||||
static constexpr uint8_t CLOCK_DEVIDER = 1;
|
||||
static constexpr uint16_t SYNC_TIME = 800;
|
||||
static constexpr uint16_t LARGE_TIME = 2000;
|
||||
static constexpr uint16_t SMALL_TIME = 500;
|
||||
static constexpr uint16_t LARGE_TIME = 500;
|
||||
static constexpr uint16_t SMALL_TIME = 125;
|
||||
static constexpr uint16_t SYNC_TIME = SMALL_TIME;
|
||||
static constexpr uint8_t SYNC_TIME_TOLERANCE = SYNC_TIME*0.20;
|
||||
static constexpr uint16_t SYNC_END_TIME_TOLERANCE = SYNC_TIME*0.80;
|
||||
static constexpr uint16_t LARGE_TIME_TOLERANCE = LARGE_TIME*0.30;
|
||||
|
|
Loading…
Reference in a new issue