Anda di halaman 1dari 1

{

Serial.println("Boton b0 pulsado");

uint32_t boton_simple;

memset(buffer, 0, sizeof(buffer));

Serial.println(boton_simple);

if(boton_simple==1)

delay(40);

if(boton_simple==0)

digitalWrite(led,HIGH);

delay(2000);

digitalWrite(led,LOW);

else

digitalWrite(led,LOW);