Using C Language Bitwise Operations to Write a Simple and Efficient Microcontroller OLED Framebuffer Driver

Using C Language Bitwise Operations to Write a Simple and Efficient Microcontroller OLED Framebuffer Driver

During previous projects with the CH32V003 series, I often used a 0.96-inch 12864 OLED screen to display data and perform user interactions. Initially, I directly used the <span>oled_min.c</span> from the CH32V003-GameConsole project, but that was only for displaying a bitmap and did not support displaying at arbitrary positions, so it needed some modifications. Additionally, while … Read more

In-Depth Explanation of LCD Driver at the Kernel Level in Embedded Linux Systems

In-Depth Explanation of LCD Driver at the Kernel Level in Embedded Linux Systems

1. The LCD from the Perspective of Application Engineers An LCD is composed of individual pixels: each row has xres pixels and there are yres rows, resulting in a resolution of: xres * yres. 2. How Colors are Represented in Pixels Colors can be represented using red, green, and blue. This can be done using … Read more

Design and Implementation of LCD Driver Based on Embedded Linux

Design and Implementation of LCD Driver Based on Embedded Linux

1. Basic Information Project Name: Design and Implementation of LCD Driver Based on Embedded Linux Source: 12th “Challenge Cup” Provincial Competition Entry Subcategory: Information Technology Category: Academic Paper in Natural Sciences 2. Project Overview Introduction: This project provides a detailed introduction to embedded systems, embedded Linux systems, and the working principles of LCD displays. It … Read more

Introduction and Usage of Linux LCD Framebuffer

Introduction and Usage of Linux LCD Framebuffer

Today, let’s talk about the LCD Framebuffer in Linux, which is a powerful tool in embedded systems. Despite its fancy name, it’s actually very simple to use; it’s just a large array in memory that stores the color information of each pixel on the screen. What is a Framebuffer? In simple terms, a Framebuffer is … Read more