This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CCS/MSP430F413:LCD

Guru**** 2039030 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/859023/ccs-msp430f413-lcd

器件型号:MSP430F413

工具/软件:Code Composer Studio

如何计算0xB7、 0x12等

const char digit[10]=

 0xB7、 /*"0" LCD 段 A+b+c+d+e+f */
 0x12、 /*"1"*/
 0x8F、 /*"2"*/
 0x1f、 /*"3"*/
 0x3A、 /*"4"*/
 0x3D、 /*"5"*/
 0xBD、 /*"6"*/
 0x13、 /*"7"*/
 0xBF、 /*"8"*/
 0x3F  /*"9"*/
};

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    ,1 μ s

    段 A 0x01

    段 B 0x02

    segC 0x10

    分段 D 0x04

    分段 E 0x80

    分段 F 0x20

    SegG 0x08

    segh 0x40

    0xB7 = 0x01+0x02+0x04+0x10+0x20+0x80