1 Switch On/of

I try a switch, for example, SW1 on my Edu05 to program as a on of swith
For example to let Ld1 go on or off.

This I can not manage well.
Do you have an example for me so that I can continue?

How do I convert a value of a variable (e.g variable A) visible in a label?

Please your help.