Control led brightness using ir remote volume buttons

I have a problem controlling led using the volume button