pinMode(led1, OUTPUT); // Configura o pino do LED 1 como saída pinMode(led2, OUTPUT); // Configura o pino do LED 2 como saída pinMode(led3, OUTPUT); // Configura o pino do LED 3 como saída ...
#define echo 8 // Declara que o pino de echo estará na porta 5 float distancia = 0; // Cria a variável para receber o valor da distância float tempo = 0; // Cria a variável para recer o valor do tempo ...
Gas leaks can pose serious safety risks, especially in homes, kitchens, and small commercial spaces. In this project, you'll learn how to build a simple and budget-friendly gas leakage detector using ...
Decorative lighting has become quite popular, with options such as LED surface panels, strip lights, COB lights, spotlights, and profile lights that are widely used in residential and other interior ...
Measuring the speed of a rotating object is a common requirement. Knowing the speed of table and ceiling fans, as well as kitchen appliances such as mixers and grinders, can often be useful. However, ...
Arduino has launched its next generation of UNO boards, introducing a 32-bit Renesas microcontroller and Espressif ESP32-S3 module, one-click cloud connectivity and plenty of I/O plus a 12×8 red LED ...