Frequency counter software for an Atmel ATTiny84A micro-controller.