Arduino IDE and NodeMCU


I am using a NodeMCU board with an esp8266 chip. I have compiled a code and connected to wifi and I am using an app to change brightness of LEDs. However, the brightness of the LED's is not changing. Any ideas on what I could have done wrong.