本文介绍了使用计算机字体的LED矩阵显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是电子嵌入式工程师.我正在执行移动消息"显示,因此我需要开发一个软件.

矩阵中排列有20x20 Led.当用户选择任何已安装的计算机字体并在键盘上键入字母时.该字母应显示,并且还应显示与其相关的代码.

如果键入字母是A

xxxxxxiiiiiiiixxxxxx
xxxxxiiiixxiiiixxxxx
xxxxiiiixxxxiiiixxxx
xxxiiiixxxxxxiiiixxx
xxiiiixxxxxxxxiiiixx
xiiiixxxxxxxxxxiiiix
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiiiiiiiiiiiiiiiiii
iiiiiiiiiiiiiiiiiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii

应该生成这样的代码图,其中i =导通,x =导通

有人可以帮我吗!!!!!!!!!!!!

I am Electronics Embedded Engineer. I Doing a Moving message display and i need to develop a software.

there are 20x20 Led arranged in a matrix. when a user selects any installed computer Fonts and type a letter in the keyboard. the letter should be displayed and a code related to it should also be displayed.

if typed a letter is A

xxxxxxiiiiiiiixxxxxx
xxxxxiiiixxiiiixxxxx
xxxxiiiixxxxiiiixxxx
xxxiiiixxxxxxiiiixxx
xxiiiixxxxxxxxiiiixx
xiiiixxxxxxxxxxiiiix
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiiiiiiiiiiiiiiiiii
iiiiiiiiiiiiiiiiiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii
iiiixxxxxxxxxxxxiiii

such a code map should be generated where i = led on, x = led off

Can Anybody Help me please!!!!!!!!!!!!

推荐答案



这篇关于使用计算机字体的LED矩阵显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-13 08:35