How to turn on widget LEDs

Can you edit your last post please. Put the three ``` keys (the key usually to the left of your 1 key) before and after your code so we can see it better.

Also, post the entire code (just xxxxx out your auth key) so we can better evaluate any syntax issues.