Tag Archives: C++

ESP32 / ESP8266 Arduino: Conditional operator

In this tutorial we will analyze how to use the C++ conditional operator, also known as the ternary operator, on the Arduino core running both on the ESP32 and on the ESP8266. The tests on the ESP32 were performed using … Continue reading

Posted in ESP32, ESP8266 | Tagged , , , , , | 2 Comments

ESP32 / ESP8266 Arduino: Bitwise AND operator

In this guide, we will check how to use the bitwise AND operator on the Arduino core, running on the ESP32 and on the ESP8266. The tests on the ESP32 were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. The tests on … Continue reading

Posted in ESP32, ESP8266 | Tagged , , , , , , , | Leave a comment

ESP32 / ESP8266 Arduino: Initializer list

The objective of this post is to explain how to use an initializer list to initialize data members of a class. The tests on the ESP32 were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. The tests on the ESP8266 were performed … Continue reading

Posted in ESP32, ESP8266 | Tagged , , , , , , | Leave a comment

ESP32 / ESP8266: Class constructors

The objective if this post is to give an introduction on class constructors. The tests on the ESP32 were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. The tests on the ESP8266 were performed on a DFRobot’s ESP8266 FireBeetle board.

Posted in ESP32, ESP8266 | Tagged , , , , , , , , | 1 Comment

ESP32 / ESP8266 Arduino: Bitwise shift operators

The objective of this tutorial is to explain how to use the bitwise operators shift left and shift right. The tests on the ESP32 were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. The tests on the ESP8266 were performed on … Continue reading

Posted in ESP32, ESP8266 | Tagged , , , , , , , | 1 Comment

ESP32 / ESP8266 Arduino: The typedef keyword

In this tutorial we will check how to use the typedef keyword to create aliases for data types, on the Arduino core running on the ESP32 and on the ESP8266. The tests on the ESP32 were performed using a DFRobot’s ESP-WROOM-32 device … Continue reading

Posted in ESP32, ESP8266 | Tagged , , , , , | Leave a comment

ESP32 / ESP8266 Arduino: Using structs

The objective of this post is to explain how to define structures on the Arduino core. This was tested both on the ESP32 and on the ESP8266. The tests on the ESP32 were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. The … Continue reading

Posted in ESP32, ESP8266 | Tagged , , , , | 2 Comments