Open xsensefw opened 6 years ago
The RX_WINDOW_FUDGE
really is just a fudge factor to make it work. It mostly works to ensure that uneven tick increments get rounded up. I've come up with the existing values just by playing with a board and seeing what values work well.
The whole concept of using the timers comes from NeoSWSerial. He has some explanation of the RxWindowWidth (that comes from the RX_WINDOW_FUDGE) here: https://github.com/SlashDevin/NeoSWSerial/pull/13.
So, if 20 seems to be working nicely for you, then it's probably a good value to put in there.
Hi, I'm testing the library running on a AVR 1284P @ 4 Mhz. I would use the following setting but I don' understand the parameter RX_WINDOW_FUDGE in the .h file Is a value of 20 for my case fine?
Many thanks for the support, Kind Regards,
Martino