Programming

ESP32 with GPS module

GPS module with Appscript (https://github.com/ahmadlogs/esp32/tree/main/google-sheet-gps)

Random function generates pseudo-random numbers

random() [Random Numbers] Description The random function generates pseudo-random numbers. Syntax random(max)random(min, max) Parameters min: lower bound of the random value, inclusive (optional).max: upper bound of the random value, exclusive. Returns A random number between min and max-1. Data type: long….

Using Functions in a Sketch

Segmenting code into functions allows a programmer to create modular pieces of code that perform a defined task and then return to the area of code from which the function was “called”. The typical case for creating a function is…

ESP32: Erase Flash Memory (Factory Reset)

This is a quick guide showing how to erase the ESP32 flash memory to restore it to its original state. This might be useful if you want to delete any changes made to the firmware or configuration settings; if the…

How to Scan I2C Address in ESP32 Using Arduino IDE

ESP32 is a microcontroller-based platform that can interface with several devices to control different outputs according to the input. All communication protocols like UART, SPI and I2C play a significant role in ESP32 communication. We will be discussing Inter Integrated…