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/MSP430FR6989:MSP430FR6989

Guru**** 2511415 points


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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/770272/ccs-msp430fr6989-msp430fr6989

器件型号:MSP430FR6989

工具/软件:Code Composer Studio

你(们)好  

是否有办法加快 LCD 上的滚动速度?

此致

Graham

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

    格雷厄姆

    在 hal_lcd.c 的第172行中、在显示下一个字符之前存在延迟。  要提高速度、请减小此延迟。  下面的代码段中显示了这种情况。

    void displayScrollText (char * msg)
    {
    int length = strlen (msg);
    int oldmode = mode;
    int i;
    INT s = 5;
    字符缓冲区[6]=" ";
    (i=0;<length+7; i++)
    {
    if (mode!= oldmode)
    中断;
    int t;
    对于(t=0;t<6;t++)
    Buffer[t]=';
    int j;
    对于(j=0;j = 0)&&((s+j)< 6)
    Buffer[s+j]= msg[j];
    }
    S--;
    
    showChar (buffer[0]、pos1);
    showChar (buffer[1]、pos2);
    showChar (buffer[2]、pos3);
    showChar (buffer[3]、pos4);
    showChar (buffer[4]、pos5);
    showChar (buffer[5]、pos6);
    
    __DELAY_CYCLES (200000);
    } 

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

    这是改变速度的 s= 5吗?

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

    _DELAY_CYCLES (200000);