Open VanMo opened 5 years ago
Glad you find a solution, unfortunately as the readme states I no longer use (or have access to) these displays so do not support this library anymore.
If you have working modifications to the library I'd happily accept a PR through.
Hello. I faced a problem trying to read big value with method *bool receiveNumber(uint32_t number)*. The method can't construct 32-bit value, because it shifting too small registers here: `number = (temp[4] << 24) | (temp[3] << 16) | (temp[2] << 8) | (temp[1]);
it works better if doing this:
*number = ((uint32_t)temp[4] << 24) | ((uint32_t)temp[3] << 16) | ((uint32_t)temp[2] << 8) | (temp[1]);`