putsxlcd.c

来自「Mplab C30编译器」· C语言 代码 · 共 29 行

C
29
字号
#include "xlcd.h"
#include "delay.h"

#ifdef _RD10

/*******************************************************************
Function Name:          PutsXLCD
Description:            This function writes a string of characters 
                        into the LCD controller.it stops transmission
                        before the null character.(which is not sent).
Input parameters:       char  *buffer 
Return value:           void
********************************************************************/

void PutsXLCD(char *buffer)
{

    while(*buffer != '\0')
    {
        WriteDataXLCD(*buffer); /* calling another function */
                                /* to write each char to the lcd module */
        buffer++;
    }
} /* end of function */

#else
#warning "Does not build on this target"
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?