Performing a software reset on the micro:bit, using uPython
Micro:bit MicroPython: Generating random numbers
Generating an random integer nuber with the Micro:bit and uPython.
ESP32 Arduino: Serving a React.js app
Serving a React.js app from the ESP32, using the Arduino core
ESP32 Arduino HTTP server: Serving a favicon
In this tutorial we will check how to serve a favicon, using the ESP32 and the Arduino core. We will use the async web server libraries in order to setup the server and we will use the SPIFFS file system to store the favicon and serve it from the ESP32. The tests were performed using a …
Continue reading "ESP32 Arduino HTTP server: Serving a favicon"
ESP32 Arduino SSD1306: Changing font size
In this tutorial we will check how to change the font size of the text written to the SSD1306 display. We will be using the Arduino core and this library, which makes it easier to interact with the display using a very simple API. Introduction In this tutorial we will check how to change the font …
Continue reading "ESP32 Arduino SSD1306: Changing font size"
ESP32 Arduino: Serving Bootstrap
In this tutorial we will check how to serve the Boostrap framework files from the ESP32, using the Arduino core and the async HTTP web server library. We will also develop a very simple web page with a Boostrap component, which will also be served from the ESP32. The tests were performed using a DFRobot’s ESP32 …
ESP32 Arduino SPIFFS: Getting total bytes used
In this tutorial we will check how to get the total used bytes in the SPIFFS file system of the ESP32, using the Arduino core. Introduction In this tutorial we will check how to get the total used bytes in the SPIFFS file system of the ESP32, using the Arduino core. In the code below …
Continue reading "ESP32 Arduino SPIFFS: Getting total bytes used"
Micro:bit MicroPython: Getting the device running time
In this tutorial we will check how to get the running time of the micro:bit, since the board was turned on or restarted. Introduction In this tutorial we will check how to get the running time of the micro:bit, since the board was turned on or restarted. In order to get this value, we will …
Continue reading "Micro:bit MicroPython: Getting the device running time"
Micro:bit MicroPython file system: Getting a file size
In this tutorial we will check how to get the size of a file on the micro:bit file system, using MicroPython. Introduction In this tutorial we will check how to get the size of a file on the micro:bit file system, using MicroPython. The code The first thing we will do is importing the os …
Continue reading "Micro:bit MicroPython file system: Getting a file size"
ESP32 Arduino: Renaming a file in the SPIFFS file system
In this tutorial we will check how to rename a file on the ESP32 SPIFFS file system, using the Arduino core. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board. Introduction In this tutorial we will check how to rename a file on the ESP32 SPIFFS file system, using the Arduino core. …
Continue reading "ESP32 Arduino: Renaming a file in the SPIFFS file system"