ESP32 / ESP8266 Protocol Buffers: messages with strings

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. 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.

Continue reading “ESP32 / ESP8266 Protocol Buffers: messages with strings”

Advertisements

ESP32 / ESP8266 Arduino: Protocol Buffers

In this tutorial we will learn how to get started using Protocol Buffers with the Arduino core, both 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 the ESP8266 were performed on a DFRobot’s ESP8266 FireBeetle board.

Continue reading “ESP32 / ESP8266 Arduino: Protocol Buffers”

ESP32 / ESP8266 Arduino: Debugging with the ArduinoTrace library

In this tutorial we will learn how to get started using ArduinoTrace, a tracing library that is aimed at debugging Arduino programs. 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.

Continue reading “ESP32 / ESP8266 Arduino: Debugging with the ArduinoTrace library”

ESP32 / ESP8266 Arduino: Printing numbers to serial in different bases

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 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.
Continue reading “ESP32 / ESP8266 Arduino: Printing numbers to serial in different bases”

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 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.
Continue reading “ESP32 / ESP8266 Arduino: Conditional operator”