3 ms·
Check out monotonic grey codes, they are used for situations like this. As far as I understand it is possible to generate a code where each value only differs b
by throwawaydbfif 10y ago
Check out monotonic grey codes, they are used for situations like this. As far as I understand it is possible to generate a code where each value only differs by one bit no matter the length, but generating them can be difficult