Ported in LED code and UI framework