Keyboard backlight is not working in Macbook Pro

Try to adjust the keyboard brightness manually in Macbook Pro by customizing the Keyboard control strip to have the keys related to Keyboard brightness as mentioned below. (F5, F6, etc function keys did not work for me)

Apple logo -> System preferences -> Keyboard -> Customize Control Strip -> Drag and drop Keyboard brightness button to the touch bar as shown in the image below

enter image description here

Then use this to manually adjust the keyboard backlight brightness