Dealt with issue where extra LEDs lit when shouldn't be

In the end ensuring that LEDs turned off before changing ddr
(direction), so we don't get spurious lighting. Think this was due to
slow speed of ATtiny vs Arduino (1Mhz vs 16 Mhz), which meant that this
effect was noticeable.