A C compiler like that found in the Arduino IDE can short circuit?????? Read on…. What do you think the output of String g is at each stage?? String g = “no”; int i = 10; i > 10 && Read More

A C compiler like that found in the Arduino IDE can short circuit?????? Read on…. What do you think the output of String g is at each stage?? String g = “no”; int i = 10; i > 10 && Read More
Introduction In this tutorial we will check how to use strings in our protobuf messages, using Nanopb and the Arduino core, running both on the ESP32 and on the ESP8266. Please check the previous tutorial for a detailed explanation on Read More
Introduction In this tutorial we will learn how to get started using Protocol Buffers with the Arduino core. In this introductory example, we will check how to declare a message type and how to encode it. This tutorial was tested Read More
Introduction In this tutorial we will learn how to use the TRACE macro of the ArduinoTrace library to help debugging our programs. This library can be downloaded from the Arduino IDE library manager, as explained in more detail in this Read More
Introduction In this tutorial we will learn how to get started using ArduinoTrace, a tracing library that is aimed at debugging Arduino programs. This library was created by Benoît Blanchon, which is also the author of ArduinoJson, an awesome JSON Read More
Introduction In this tutorial, we will check how we can print numbers to the serial port using different bases, more specifically in binary, octal and hexadecimal. The code we are going to see below will be very short and simple Read More
Introduction In this esp32 tutorial, we will check how we can get humidity measurements from a DHT22 sensor, with the Arduino core running on the ESP32. The DHT22 is a temperature and humidity sensor and you can check on the previous tutorial how Read More
Introduction In this tutorial we will check how to get the minimum sampling period of the DHT22 and how to use it to make some temperature measurements without crossing the maximum sampling rate the sensor suports. We are going to Read More
I had created a very large project that was starting to consume too much RAM and needed to see where it was all going, and how to better optimise the use of the RAM…. I quickley learned no map file Read More
The objective of this esp32 tutorial is to explain how to create a very simple class and instantiate an object of it in the Arduino core. This code was tested on both the ESP32 and the ESP8266. The ESP32 tests Read More