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.
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: email@example.com||CC-BY License: Ruud Vlaming.|