You're on 3DFinder
We search Thingiverse, MakerWorld, and Printables at once so you get the best of each.
Description
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.
0
Likes
0
Downloads
1
Collections
Tags
magnetic
Magnetic Encoder
openscad
OpenSCAD module
Optical Encoder
rotary encoder
sensor
wheelencoder
License
Creative Commons - Attribution
Like this model? Create a free account to save your favorites and come back to them later.
Create account