App code for LED test.