Rewrite UI led drivers using virtual functions and adapt examples.