Thingiverse
Gray Code Function
por WilliamsOb
1
Descargas
0
Likes
0
Makes
This function returns the gray code representation of the supplied bit count.
Gray code is useful in that it is a binary representation of values where only one bit changes at a time as the represented number increases. This allows reliable sensing of magnets or holes for linear or rotary encoders.
The function supports bit counts from 2 to 8 and is hard coded.
Gray code is useful in that it is a binary representation of values where only one bit changes at a time as the represented number increases. This allows reliable sensing of magnets or holes for linear or rotary encoders.
The function supports bit counts from 2 to 8 and is hard coded.
¿Has impreso este modelo? Inicia sesión y comparte tu make.
Inicia sesión para dejar un comentario
Iniciar sesiónAún no hay comentarios – ¡sé el primero!