The example in this application note is written for the ATtiny817 Xplained Mini, which features the ATtiny817 device, but the example applies to all devices in the tinyAVR 1-Series. The example is available through Atmel | START. Refer to Get Source Code from Atmel | START for further information.