Smart Rotary Encoder with ATTINY85
Roto is an intelligent rotary encoder featuring an onboard ATTINY85 microcontroller that handles all the complex encoder position tracking. With the simple GNDHOG library, you just need to call encoder.tick() to get an updated position value - no more dealing with interrupt handling or debouncing!
Built-in ATTINY85 microcontroller handles all encoder position tracking, debouncing, and data processing internally.
Ultra-simple library interface - just use encoder.tick() to get the current position. No complex interrupt handling required!
Accurate rotary position detection with built-in debouncing and noise filtering for reliable operation.
Drop-in replacement for standard rotary encoders with enhanced functionality and simplified code.
#include <GndHogRoto.h>
GndHogRoto encoder;
void setup() {
encoder.begin();
Serial.begin(9600);
}
void loop() {
int position = encoder.tick();
Serial.println(position);
delay(10);
}