-
FontGen2
点阵字体产生工具以及相关显示函数。
在开发嵌入式系统时,需要显示不同大小或类型字体的汉字。显然,对于嵌入式系统,不太可能使用矢量字体,而点阵字体,不同大小的字体不能简单的缩放。 另外,对一个小系统,也不需要完整的字体,往往只要几十个,甚至几个就够了。
一般,我们采用的方法是,自己准备点阵字体的数据,在显示汉字时,把这些数据写入显存就行了。 这时又存在另外一个问题,由于是不完整的字库,不能简单的用汉字的内码去找到对应的字体数据,如果逐个比较,又费时间。比较好的方法就是把字体数据排序,用二分法查找,这样可以大大提高查找效率。
这里为以上问题提供了一个完整的解决方案:
产生字体数据:指定字体类型、大小,自动产生字体数据。
字体数据排序:可以按Unicode,也可以按Ansi排序。
集成显示函数:提供相关显示函数。为了节省空间,我们把文字分成thin和wide两种,前者用于显示传统的ASCII字符集,后者用于显示汉字等多(双)字节字符
()
- 2020-06-30 09:20:02下载
- 积分:1
-
PCA--stm32
stm32F410X PCA例程,Stm32F410x很好的学习资料(Stm32F410X PCA routines, stm32F410X very good learning material
)
- 2012-08-08 10:52:44下载
- 积分:1
-
Multi---axis-Position-Servo
针对多电机同步控制中传统环形耦合 PID 控制存在抗扰动性不强 扰动下同步误差较大等问题,
提出了一种带前馈控制的滑模变结构多电机相邻耦合控制策略, 建立了3 台永磁同步电动机同步控制仿真模
型, 通过 Lyapunov 稳定性理论证明了滑模控制算法的稳定性, 并进行了交变负载 突变负载实验 仿真分析和
实验结果表明, 该控制策略相比传统环形耦合 PID 控制 相邻耦合 PID 控制具有更高的同步精度和更好的抗扰
动性能(Abstract: Aiming at the problem of poor anti-disturbance capability and big synchronization error under
disturbance of traditional ring-couple PID control method in multi-axis synchronization control,a sliding mode variable
structure with feed-forward control for relative coupling control strategy is proposed. Three Permanent Magnet
Synchronous Motor ( PMSM) for synchronized control simulation modl is set up. The stability of the proposed control
algorithm is proved according to Lyapunov stability theory. The control strategy is tested by alternating load,and mutant
load experiment. Simulation analysis and experimental results show that the presented control strategy has higher
synchronization accuracy and better anti-disturbance capability in camparison with the traditional ring-couple PID
control and relative-couple PID control.)
- 2015-11-19 14:57:32下载
- 积分:1
-
LCD1602显示矩阵按键键值
1602显示源程序 基于51单片机的1602显示矩阵按键键值 按下矩阵键盘显示对应按键号(1602 Display source program,Based on 51 MCU, 1602 display matrix button key value, press matrix keyboard and display corresponding key number.)
- 2018-04-14 17:35:41下载
- 积分:1
-
yejing12864
这是一个液晶的测试程序,是一款用ST7920做芯片的12864液晶的程序,绝对可用,方便而且可移植调用,还附有说明书(This is a test procedures for liquid crystal, is a ST7920 to do with the 12864 chip LCD procedures, absolutely available, convenient and portable call, accompanied by brochures)
- 2007-12-21 18:12:09下载
- 积分:1
-
work
振幅调制,角度调制,频率调制等几个源程序,模拟通信系统(Amplitude modulation, angle modulation, frequency modulation, such as source code, analog communication systems)
- 2009-05-09 11:06:55下载
- 积分:1
-
1602
说明: 用4*4矩阵键盘给液晶1602送四位数,其中第四行按键设置为功能键,按键显示可调对应位的数字(With 4* 4 matrix keyboard to send the four-digit LCD 1602, the fourth line of buttons is set to function keys, adjustable button displays the corresponding number of bits)
- 2009-08-29 13:21:16下载
- 积分:1
-
cb_pcb_1
充电盒程序 用pic16F1828做主芯片(charger box program)
- 2014-07-24 18:35:27下载
- 积分:1
-
pwmkongzhishiyongyuchuxuezhe
这是有关pwm的控制,可以控制它周期的长短来控制灯的亮度,还可以控制它自动调光。(This is the control of the pwm, the length of the cycle it can be controlled to control the brightness of the lights can also control the automatic dimming.)
- 2012-08-06 10:16:40下载
- 积分:1
-
645-485
一个电表行业专用的基于645规约的电表485通讯抄表程序,可以进行485总线抄表,645规约测试。程序技术要点就是规约数据传输协议的处理,如向电表发送数据时的控制码和数据长度、发送的数据部分(数据标识 + 密码 + 数据)、应答帧长度、结束标志等通讯协议的处理值得大家学习。(A meter-based industry-specific statute 645 meter 485 meter-reading procedure can be carried out 485 meter, 645 Statute of the test. Procedures for the technical elements of the statute is to deal with data transmission protocols, such as sending data to the meter when the control code and data length, send the data section (data logo+ Password+ Data), response frame length, marks the end of the treatment protocol, etc. everyone deserves to learn.)
- 2021-03-08 09:49:29下载
- 积分:1