ZLX-ESP32-1 development board Chinese and English sample code officially released
We have now officially organized and publishedZLX-ESP32-1 development board sample code package, allowing developers to quickly understand hardware resources, GPIO definitions, and how to use various onboard functions.
This sample code is based onZLX-ESP32-1 / ESP32-2432S0248R-PLUSHardware platform organization, suitable for ESP32-WROOM-32E / ESP32-WROOM-32UE related development and testing.
The sample code is organized as an independent project, and each function can be opened, compiled and tested independently, making it easier for beginners to learn and for developers to directly refer to their own projects.
Chinese and English versions
The code package also provides:
Chinese sample code directory
English Example Code Directory
Each example includes independent documentation to facilitate use by Chinese and overseas developers.
Standalone function example
This release contains multiple independent sample projects, mainly including:
ST7789 2.8-inch TFT screen test
XPT2046 resistive touch raw data reading
XPT2046 fixed coordinate mapping
Screen 180° rotation
Touch coordinate synchronization after 180° rotation
TF/MicroSD card mounting and information reading
TF card file reading and writing test
TF card format example
Audio PWM and power amplifier testing
Wi-Fi network scan
BLE Bluetooth device scanning
GT-U7 GPS / GNSS data reading
RGB LED test
Battery voltage ADC detection
BOOT button detection
NVS/Configuration Recovery Example
Organized based on actual hardware parameters
The sample code is organized according to the actual hardware GPIO of ZLX-ESP32-1, including:
Onboard resources such as ST7789 display, XPT2046 touch screen, TF card, RGB LED, audio, battery ADC, GPS and BOOT button.
The touch example also uses actual fixed mapping parameters to avoid developers needing to confirm the touch direction and basic coordinate relationship from scratch.
PlatformIO project structure
Each standalone example includes complete project files:
platformio.inisrc/main.cppinclude/pins.hinclude/config.hREADME.md
Developers can useVisual Studio Code + PlatformIODirectly open the corresponding sample directory for development.
Suitable for development and secondary development
These examples are not only used for hardware testing, but also as base code for developing ZLX-ESP32-1 projects.
Developers can combine display, touch, MicroSD, Wi-Fi, BLE, GPS, audio, battery detection and other functions into their own IoT, desktop controller, sensor display terminal or other ESP32 projects based on actual needs.
We will continue to update the ZLX-ESP32 series development materials, sample codes and technical documents in the future.
Downloads & Resources:
https://www.zlxchina.com
Technical Support:
mq19880204@gmail.com
Hefei Zhiluxing Information Technology Co., Ltd.