LP2387 interrupts project, converting tabs to spaces + small changes.