Problem retrieving the status of an LED on an HTML (Fez Panda) page

Hello,
Currently class STI2D end, I realize a project.
My project is to vary the brightness of an LED using the touch screen Fez Touch. Then I have to see the status of the LED on an HTML page.
Everything works fine, the connection between the PC and the card works.
But I have a problem I can not seem to get the state of the LED.
I’ve put my program in image below,
If you could help me, it would be very helpful.
Thank you in advance, good day :slight_smile:

Please stop posting same question over and over! One time is more than enough.