Add some declaration code about LED mode.