Filled in barOutput() with a switch statement setting outputs according to LED 1->12 defines in header.