Home News Features Examples Code FAQ License
AVR Webring
Prev Hub Join Rate Next
Showing the use of tick counter hooks.

Description

This example is made to demonstrate how the tick hooks can be used. There are three tick hooks present. One on every tick, one on every tick block (256 ticks) and one on every rollover (65536 ticks). They all are coupled to a counter and with one switch you can switch between the different hooks. The counter is display on port A.

Hardware

ATtiny861 and STK500. The eight leds on the STK500 connected to port A. Pin 0 on port B must be connected to a switch.

Contact: info@femtoos.org   CC-BY License: Ruud Vlaming.