the code snippet control two  led