Allow tick frequencies less than 1Hz.

Fixed #214 (the firmware part at least).