User Manual
54 
Step 2: Program (Please refer to the example code in LEARN -> Get Tutorial on our website) 
Step 3: Compile 
Step 4: Upload the sketch to SunFounder Uno 
Now, you can see the angular displacement of the rotary encoder printed on Serial Monitor. 
When you spin the rotary encoder clockwise, the angular displacement increases; when you 
spin it counterclockwise, the value decreases. Press the switch on the rotary encoder and 
the value will return to zero. 
SunFounder










