Programming an ATtiny402 on a Mac
Rotary Encoder with I²C Interface
notes on hardware setup and programming an attiny402 using arduino IDE
ATtiny402 Pulse-Width measurement using Timer/Counter Type B
hello world bare metal attiny402 example with adc, pwm and uart