Iot cloud internet connection status led

Hello to everyone. I searched a bit but couldn't find any document to help me.
I apologize in advance if a similar question has been asked, for reopening the topic.
I need a code that shows an internet connection status for use in iot projects.
I want to turn on the green led when there is an internet connection, and the red led when the internet connection down.

Thank you in advance for your help.

1 Like

Hola nose si me podran ayudar estoy en medio de un examen y es muy importante nose ni como crear preguntas por aqui jajajaja os pongo las preguntas ruego ayuda me juego el curso
1
precedente: float medición;
medicion2 = int(medicion);

2 Dado el array
int vect={1,0,-5,7,10,2};

escribe un programa que por el puerto serie la posición (y no el valor) del número más grande del array vect.

please heeeeeelp

I wrote the variables in the codes in Turkish. I hope you understand

edit:a little fix new code ->

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.