Open urh opened 8 years ago
I prefer to create bitfield struct of the protocol which will make everything clearer and simpler
Cool :) :+1:
Interesting to see that in particle development environment which should be very similar to arduino, int has 4 bytes.
I rewrote the library, and it's live on version-2.0
branch. Check it out, the issue should be fixed.
Changed SendElectra and EncodeElectra have int in their params, but in the code their params are shifter up to 32 bits, even though they are 16 bits in arduino. Causes only the cooling and on/off options to work.
They should be uint32_t