[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-562250-105":59,"doc-detail-562250-en":130,"doc-similar-562250":144},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","lcddisplay-0-functions-for-pic-lcd-module-control-raw-send-start-clear-print","LCDDisplay - 0 - Functions for PIC LCD Module Control - Raw send, start, clear, print","","PIC firmware source implements a character LCD module interface. It defines hardware mapping macros for SPI/I2C-related options and LCD data/RS/E pins, including timing delays based on compiler toolchains. Core routines provide low-level raw nibble sending with masking, hardware start-up initialization by setting DDR directions, display clearing, cursor positioning, ASCII and number printing, string output, scroll control, clearing individual lines, and direct RAM writes to the display controller.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/lcddisplay-0-functions-for-pic-lcd-module-control-raw-send-start-clear-print/562250/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/lcddisplay-0-functions-for-pic-lcd-module-control-raw-send-start-clear-print/562250.png","ImageObject",300,407,{"name":92,"@type":93},"Mafia Boss","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","text/plain","2026-11-16","2026-10-12",true,{"@type":102,"interactionType":103,"userInteractionCount":52},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What does the raw send function do for the LCD module?","Question",{"text":112,"@type":113},"It transmits the input byte to the LCD controller as two nibbles, controlling the RS and E lines, applying appropriate delays, and optionally using a mask for RS selection.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How is the LCD initialized before use?",{"text":117,"@type":113},"The start function configures the LCD-related port direction registers (DDR) for the data pins and control pins, preparing the pins for output.",{"name":119,"@type":110,"acceptedAnswer":120},"What higher-level operations are available beyond raw sending?",{"text":121,"@type":113},"The driver provides routines for clearing the display, setting the cursor, printing ASCII characters, numbers, and strings, scrolling, clearing specific lines, and writing directly to the LCD RAM.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},562250,1792209984,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":52,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":8,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":143,"read_time":81,"preview_page_count":4},962090760730,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","#define MX_PIC\n\n#define MX_USES_UINT8 1\n#define MX_USES_SINT16 0\n#define MX_USES_CHAR 0\n#define MX_USES_FLOAT 0\n#define MX_USES_SINT32 0\n#define MX_USES_BOOL 1\n#define MX_USES_UINT16 0\n#define MX_USES_UINT32 0\n//Mikrovez閞l? defin韈i髃\n#define P16F677\n#define FC_CAL_PIC\n#define MX_ADC\n#define MX_ADC_TYPE_3\n#define MX_ADC_BITS_10\n#define MX_EE\n#define MX_EE_SIZE 256\n#define MX_SPI_1\n#define MX_SPI_1_MISO_PORT portb\n#define MX_SPI_1_MISO_TRIS trisb\n#define MX_SPI_1_MISO_PIN 4\n#define MX_SPI_1_MOSI_PORT portc\n#define MX_SPI_1_MOSI_TRIS trisc\n#define MX_SPI_1_MOSI_PIN 7\n#define MX_SPI_1_CLK_PORT portb\n#define MX_SPI_1_CLK_TRIS trisb\n#define MX_SPI_1_CLK_PIN 6\n#define MX_SPI_1_SS_PORT portb\n#define MX_SPI_1_SS_TRIS trisb\n#define MX_I2C\n#define MX_MI2C\n#define MX_I2C_1\n#define MX_I2C_1_SDA_PORT portb\n#define MX_I2C_1_SDA_TRIS trisb\n#define MX_I2C_1_SDA_PIN 4\n#define MX_I2C_1_SCL_PORT portb\n#define MX_I2C_1_SCL_TRIS trisb\n#define MX_I2C_1_SCL_PIN 6\n\n//F黦gv閚yek\n#define MX_CLK_SPEED 4000000\n#ifdef _BOOSTC\n#include \u003Csystem.h>\n#endif\n#ifdef HI_TECH_C\n#include \u003Cpic.h>\n#endif\n\n//Konfigur醕i髎 adatok\n#ifdef _BOOSTC\n#pragma DATA 0x2007, 0x33f4\n#endif\n#ifdef HI_TECH_C\n__CONFIG(0x33f4);\n#endif\n\n//Bels? f黦gv閚yek\n#include \"\\internals.c\"\n\n//Makr deklar醕i髃\n\n\n//V醠toz deklar醕i髃\n#define FCV_TRUE (1)\n#define FCV_FALSE (0)\n\n\n\n\n//LCDDisplay(0): //Defines:\n\n/**** Macro Substitutions ****\na = Unique Component Reference Number\nb = D1 Port Letter\nc = D2 Port Letter\nd = D3 Port Letter\ne = D4 Port Letter\nf = RS Port Letter\ng = E Port Letter\nh = Data 1_Pin\ni = Data 2 Pin\nj = Data 3 Pin\nk = Data 4 Pin\nl = RS Pin\nm = Enable Pin\nn = Row Count\no = Column Count\n******************************/\n\n\t//component connections\n\t//Port pin lat workaround for 8-bit PIC devices running >= 32MHz\n\t//seems we need this mod for 19660800 16F1937 so changed to >= 16MHz\n\n  #ifdef FC_CAL_PIC\n   #if MX_CLK_SPEED >= 32000000\n\t#define LCD_1__PORT0    latc\n\t#define LCD_1__PORT1    latc\n\t#define LCD_1__PORT2    latc\n\t#define LCD_1__PORT3    latc\n\t#define LCD_1__PORT4    latc\n\t#define LCD_1__PORT5    latc\n   #else\n    #ifdef MX_LCD_PORT_LAT\n\t #define LCD_1__PORT0    latc\n\t #define LCD_1__PORT1    latc\n\t #define LCD_1__PORT2    latc\n\t #define LCD_1__PORT3    latc\n\t #define LCD_1__PORT4    latc\n\t #define LCD_1__PORT5    latc\n    #else\n\t #define LCD_1__PORT0    portc\n\t #define LCD_1__PORT1    portc\n\t #define LCD_1__PORT2    portc\n\t #define LCD_1__PORT3    portc\n\t #define LCD_1__PORT4    portc\n\t #define LCD_1__PORT5    portc\n\t#endif\n   #endif\n  #else\n\t#define LCD_1__PORT0    portc\n\t#define LCD_1__PORT1    portc\n\t#define LCD_1__PORT2    portc\n\t#define LCD_1__PORT3    portc\n\t#define LCD_1__PORT4    portc\n\t#define LCD_1__PORT5    portc\n  #endif\n\n\t#define LCD_1__TRIS0    trisc\n\t#define LCD_1__TRIS1    trisc\n\t#define LCD_1__TRIS2    trisc\n\t#define LCD_1__TRIS3    trisc\n\t#define LCD_1__TRIS4    trisc\n\t#define LCD_1__TRIS5    trisc\n\t#define LCD_1__BIT0    \t2\n\t#define LCD_1__BIT1    \t7\n\t#define LCD_1__BIT2    \t6\n\t#define LCD_1__BIT3    \t3\n\t#define LCD_1__RS      \t0\n\t#define LCD_1__E       \t1\n\t#define LCD_1__ROWCNT\t2\n\t#define LCD_1__COLCNT\t16\n\n\t#ifdef _BOOSTC\n\t  #define LCD_1__DELAY   delay_10us(10)\n\t#endif\n\t#ifdef _C2C_\n\t  #define LCD_1__DELAY   delay_us(100)\n\t#endif\n\t#ifdef HI_TECH_C\n\t  #define LCD_1__DELAY   __delay_us(120)\n\t#endif\n\t#ifndef LCD_1__DELAY\n\t  #define LCD_1__DELAY   delay_us(100)\n\t#endif\n\n\n\n\n//LCDDisplay(0): //Makr deklar醕i髃\n\nvoid FCD_LCDDisplay0_RawSend(MX_UINT8 in, MX_UINT8 mask);\nvoid FCD_LCDDisplay0_Start();\nvoid FCD_LCDDisplay0_Clear();\nvoid FCD_LCDDisplay0_PrintASCII(MX_UINT8 Character);\nvoid FCD_LCDDisplay0_Command(MX_UINT8 in);\nvoid FCD_LCDDisplay0_Cursor(MX_UINT8 x, MX_UINT8 y);\nvoid FCD_LCDDisplay0_PrintNumber(MX_SINT16 Number);\nvoid FCD_LCDDisplay0_PrintString(MX_STRING String, MX_UINT8 MSZ_String);\nvoid FCD_LCDDisplay0_ScrollDisplay(MX_UINT8 Direction, MX_UINT8 Num_Positions);\nvoid FCD_LCDDisplay0_ClearLine(MX_UINT8 Line);\nvoid FCD_LCDDisplay0_RAM_Write(MX_UINT8 nIdx, MX_UINT8 d0,","cbCaidwug3Est6Bj","https://ap.wps.com/l/cbCaidwug3Est6Bj","txt",13240,"English","# Pin and timing macros\n## LCD data/RS/E port mapping\n## Compiler-dependent delay handling\n# LCD display driver functions\n## Raw nibble send\n## Start and initialization\n## Clear and cursor control\n## Print ASCII, numbers, and strings\n## Scroll and line clear\n## LCD RAM write","[{\"question\":\"What does the raw send function do for the LCD module?\",\"answer\":\"It transmits the input byte to the LCD controller as two nibbles, controlling the RS and E lines, applying appropriate delays, and optionally using a mask for RS selection.\"},{\"question\":\"How is the LCD initialized before use?\",\"answer\":\"The start function configures the LCD-related port direction registers (DDR) for the data pins and control pins, preparing the pins for output.\"},{\"question\":\"What higher-level operations are available beyond raw sending?\",\"answer\":\"The driver provides routines for clearing the display, setting the cursor, printing ASCII characters, numbers, and strings, scrolling, clearing specific lines, and writing directly to the LCD RAM.\"}]","LCDDisplay - 0 - Functions for PIC LCD Module Control - Raw send, start, clear, print | TXT",1791808120,{"list":145,"token":66},[146,153,159,165,171,177,183,189,195,201],{"doc_id":147,"doc_title":148,"file_type":149,"home_preview_img_url":150,"slug":151,"view_count":24,"category_name":30,"create_tm":152},669530,"Matrix Multimedia LCD Display - User Guide","pdf","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988319552/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=CsIMp0fBSbZO%2FOEQMfX52aMBOVU%3D","matrix-multimedia-lcd-display-user-guide",1793559545,{"doc_id":154,"doc_title":155,"file_type":149,"home_preview_img_url":156,"slug":157,"view_count":34,"category_name":30,"create_tm":158},700702,"3.5”480x320 TFT LCD Capacitive Touchscreen - DFR0669 - Product Specifications & Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012033315/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=P7lrrawtsArVJ01aD2FmIsDGfP0%3D","35480x320-tft-lcd-capacitive-touchscreen-dfr0669-product-specifications-tutorial",1794520107,{"doc_id":160,"doc_title":161,"file_type":149,"home_preview_img_url":162,"slug":163,"view_count":24,"category_name":30,"create_tm":164},720520,"Schematic Information - Rev 0.0.1 Pre-Alpha","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024398058/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=OKnUlRjOTL3DaM1M0aFSElG9Tto%3D","schematic-information-rev-001-pre-alpha",1795037769,{"doc_id":166,"doc_title":167,"file_type":149,"home_preview_img_url":168,"slug":169,"view_count":29,"category_name":30,"create_tm":170},562072,"UM1670 User manual - STM32F429 Discovery kit with STM32F429ZI MCU - Introduction - Quick start","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947791985/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=fJo9YwS04p5lxbjccQckV8HyLq0%3D","um1670-user-manual-stm32f429-discovery-kit-with-stm32f429zi-mcu-introduction-quick-start",1791807649,{"doc_id":172,"doc_title":173,"file_type":149,"home_preview_img_url":174,"slug":175,"view_count":19,"category_name":30,"create_tm":176},692061,"PSoC 4 System Reference Guide - cy_boot Component v5.20 - Document","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002058459/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=2%2BnlOYA%2BX%2BwpsNf34vf2AjgiAp0%3D","psoc-4-system-reference-guide-cy_boot-component-v520-document",1794178071,{"doc_id":178,"doc_title":179,"file_type":149,"home_preview_img_url":180,"slug":181,"view_count":34,"category_name":30,"create_tm":182},560842,"LSJ320HN03 - Samsung Secret - LCD Specifications - Preliminary","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947716941/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=kdmjJ998SJ446b%2FdnscH1SadU8A%3D","lsj320hn03-samsung-secret-lcd-specifications-preliminary",1791804262,{"doc_id":184,"doc_title":185,"file_type":149,"home_preview_img_url":186,"slug":187,"view_count":14,"category_name":30,"create_tm":188},708866,"3.2 inch QVGA TFT Color LCD User’s Guide - Version 1 & 2","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230015988936/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=2ny6VqNrncnd86CubZSwwUK0P6Q%3D","32-inch-qvga-tft-color-lcd-users-guide-version-1-2",1794728204,{"doc_id":190,"doc_title":191,"file_type":149,"home_preview_img_url":192,"slug":193,"view_count":46,"category_name":30,"create_tm":194},399708,"TEL TAC - Installation, Wiring, Programming, Maintenance","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229919666147/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=objIRnDHbb9qAuua3b%2BEt4ts18Q%3D","tel-tac-installation-wiring-programming-maintenance",1790500771,{"doc_id":196,"doc_title":197,"file_type":149,"home_preview_img_url":198,"slug":199,"view_count":34,"category_name":30,"create_tm":200},558290,"TVTEXT 8-Bit Microcontroller, ROMless-Version - SDA 5255 - Preliminary Data Sheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947428728/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=wEL6xF8K2RSb%2FCSbAdUpzRfK8yg%3D","tvtext-8-bit-microcontroller-romless-version-sda-5255-preliminary-data-sheet",1791799399,{"doc_id":202,"doc_title":203,"file_type":149,"home_preview_img_url":204,"slug":205,"view_count":206,"category_name":30,"create_tm":207},689858,"XIAO RP2040 - Powerful MCU, GPIO, Interfaces and Example Functions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002159951/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=eu%2F2arp8hSxPr6%2FbwiXZBWe44L0%3D","xiao-rp2040-powerful-mcu-gpio-interfaces-and-example-functions",11,1794129633]