阅读背景:

在C中执行查找表的最佳方法是什么?

来源:互联网 

I am working on an embedded C project. I have an LCD display and for each character there is a 5x7 dot matrix. To display a specific character you have to shift in 5 bytes that correlate with the dots to turn on. So I need to make some kind of look-up table with a key where I can pass in an ASCII character, and get an array of 5 bytes returned... For example, a call to this function like this, I am working on an embedded C project. I have a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: