Tag: C
All the articles with the tag "C".
-
Rust Embedded Development: Using Rust to Control Home Ambient Lights via Xiao AI and ESP32
Published date:Implementing a system to control home ambient lights using Rust embedded development, ESP32 microcontroller, and Xiao AI through MQTT communication with Bemfa Cloud platform.
-
ADC Analog-to-Digital Conversion in ESP32-S3 with Rust: Reading XY Axis Joystick Sensor Tutorial
Published date:This article introduces how to use Rust for ADC analog-to-digital conversion on ESP32-S3 to read data from an XY axis joystick sensor. The article details the ADC functionality of ESP32-S3, pin configuration, code implementation (including X/Y axis analog signal reading and Z axis button detection), and how to use the esp-hal library for hardware programming.
-
Implementing TUI Interface on ST7789 Screen with Rust and Ratatui on ESP32-S3
Published date:This article introduces how to use Rust and the Ratatui library on ESP32-S3 to build a text-based user interface (TUI) for ST7789 screens, and solves common issues with fonts and display configuration.
-
Rust Embedded Development: How to Fix ST7789 Screen Flickering During Redraw
Published date:Exploring solutions to fix screen flickering issues when redrawing on ST7789 displays using Rust embedded development, including attempts to adjust SPI clock frequency and reduce refresh area.
-
Rust Embedded Development: Displaying Images on ST7789 Screen
Published date:Guide on displaying images on ST7789 screens using Rust embedded development, including image format conversion techniques from common formats to supported formats like BMP, TGA, and QOI.
-
Methods for Displaying Chinese Characters in Embedded Rust
Published date:This article introduces how to display Chinese characters in resource-constrained embedded environments, especially using the embedded-graphics library. Since the library doesn't support Chinese characters by default, the article details how to use BDF font format and eg-bdf tool to generate and use Chinese font libraries, providing specific code examples and solutions.
-
Implementing DHT11 Temperature and Humidity Sensor Data Display on ST7789 Screen with Rust on ESP32S3
Published date:This article details how to use Rust on ESP32S3 to read DHT11 temperature and humidity sensor data and display it on an ST7789 TFT LCD screen. It covers implementation in both C and Rust languages, with special attention to multi-core task allocation in Rust, SPI bus configuration, screen driver initialization, and avoiding screen display issues. The article also provides complete code examples and analysis of key technical points.
-
Implementing DHT11 Sensor Reading in Rust
Published date:Detailed explanation of implementing DHT11 temperature and humidity sensor reading using Rust programming language, including single-bus communication protocol analysis, timing diagrams, and code implementation steps.
-
Using Rust for Embedded Development: Comparative Analysis of C and Rust Implementations for DHT11 Temperature and Humidity Sensor on ESP32S3
Published date:In-depth comparison of C and Rust implementations for DHT11 temperature and humidity sensor on ESP32S3 development board, detailing slow response issues encountered with the C version and the impact of CPU task scheduling, providing complete code examples and debugging experience sharing.
-
Controlling WS2812 LED with ESP32-S3: C vs Rust Implementation
Published date:This article compares the implementation of controlling a WS2812 LED with ESP32-S3 using both C and Rust languages. It covers hardware setup with GPIO 48, toolchain configuration for both languages, and provides complete code examples for each approach. The comparison highlights differences in development experience, library usage, and performance considerations between traditional ESP-IDF C development and modern Rust embedded development.