当前位置:网站首页>GD32F4xx控制DGUS 变量显示
GD32F4xx控制DGUS 变量显示
2022-06-12 18:04:00 【madao1234】
本文主要涉及数据变量显示、文本显示、RTC文本显示的控制。
1、DGUS屏RTC显示
1.1 RTC文本显示控件
RTC文本显示控件用于在DGUS屏幕上的指定区域内显示RTC时间。
RTC文本显示设置主要有以下几项设置内容:
(1)位置信息: X和Y RTC显示区域的左上角坐标, W和H 是显示区域的宽度和高度。
(2)名称定义:可以自行定义名称。
(3)描述指针:本人使用没有用到此项,未做修改 默认为0xFFFF。
(4)字体颜色:可以选择显示字体的颜色。
(5)字库位置:选择RTC显示要使用的字体来自哪个字库。 0字库可以通过DGUS Tool直接生成。
(6)X方向点阵数: 字体的大小。
RTC显示的格式 上图中有描述,实际效果如下图所示:
1.2 RTC设置代码
RTC文本显示
边栏推荐
猜你喜欢

A method of quickly reusing wechat login authorization in app

Esp32-c3 esp-idf configuring smartconfig and SNTP to obtain network time

JDBC快速入门教程

High speed layout guidelines incomplete

有源差分晶振原理圖以及LV-PECL、LVDS、HCSL區別

Introduction to service grid and istio - continued

C operation database added business data value content case school table

企业架构的第一性原理

轻量、便捷的小程序转App技术方案,实现与微信/流量App互联互通

ES7 does not use parent-child and nested relationships to implement one to many functions
随机推荐
MySQL学习笔记
Esp-idf adds its own components
赛程更新| 2022微软与英特尔黑客松大赛火热报名中
1.5 what is an architect (serialization)
LCD parameter interpretation and calculation
ES7 does not use parent-child and nested relationships to implement one to many functions
Machine learning series (3): logistic regression
js两数之和
Write a select based concurrent server
js快速排序
Random talk about redis source code 90
JDBC quick start tutorial
MIPS general purpose register + instruction
MySQL learning notes
Window版本pytorch入门深度学习环境安装与配置
An easy-to-use IDE for small programs
idea 常用快捷键
Leetcode 674 longest incrementing substring
JS中的栈(含leetcode例题)<持续更新~>
Typescript common types (I)