在线看毛片网站电影-亚洲国产欧美日韩精品一区二区三区,国产欧美乱夫不卡无乱码,国产精品欧美久久久天天影视,精品一区二区三区视频在线观看,亚洲国产精品人成乱码天天看,日韩久久久一区,91精品国产91免费

<menu id="6qfwx"><li id="6qfwx"></li></menu>
    1. <menu id="6qfwx"><dl id="6qfwx"></dl></menu>

      <label id="6qfwx"><ol id="6qfwx"></ol></label><menu id="6qfwx"></menu><object id="6qfwx"><strike id="6qfwx"><noscript id="6qfwx"></noscript></strike></object>
        1. <center id="6qfwx"><dl id="6qfwx"></dl></center>

            新聞中心

            EEPW首頁(yè) > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > PIC16Fxxx的LCD驅(qū)動(dòng)程序(適用于HD44780兼容的驅(qū)動(dòng)器)

            PIC16Fxxx的LCD驅(qū)動(dòng)程序(適用于HD44780兼容的驅(qū)動(dòng)器)

            作者: 時(shí)間:2012-08-12 來(lái)源:網(wǎng)絡(luò) 收藏

            bsf _CNTL,E ; Clock nibble into
            bcf _CNTL,E
            return
            ;
            ;*******************************************************************
            ;* clrLCD - Clear the contents of the LCD *
            ;*******************************************************************
            clrLCD
            movlw CLR_DISP ; Send the command to clear display
            call SendCmd
            return
            ;
            ;*******************************************************************
            ;* L1homeLCD - Moves the cursor to home position on Line 1 *
            ;*******************************************************************
            L1homeLCD
            movlw DD_RAM_ADDR|0x00 ; Send command to move cursor to
            call SendCmd ; home position on line 1
            return

            本文引用地址:http://www.biyoush.com/article/171045.htm

            ;*******************************************************************
            ;* L2homeLCD - Moves the cursor to home position on Line 2 *
            ;*******************************************************************
            L2homeLCD
            movlw DD_RAM_ADDR|0x28 ; Send command to move cursor to
            call SendCmd ; home position on line 2
            return


            ;*******************************************************************
            ;* Delay - Generic LCD delay (1.024mS @ 4MHz) *
            ;* Since the microcontroller can not read the busy flag of the *
            ;* LCD, a specific delay needs to be executed between writes to *
            ;* the LCD. *
            ;*******************************************************************
            Delay_1MS ; 2 cycles for call
            clrf Count ; 1 cycle to clear counter variable
            Dloop
            nop
            decfsz Count,F ; These two instructions provide a
            goto Dloop ; (256 * 3) -1 cycle count
            return ; 2 cycles for return
            ;
            ;*******************************************************************
            ;* Delay - 1mS base delay *
            ;* input : W Reg. *
            ;* *
            ;*******************************************************************
            Delay_MS
            movwf Count1
            ;
            DLop1 call Delay_1MS
            decfsz Count1,F
            goto DLop1
            return
            ;
            END

            LCD顯示屏相關(guān)文章:lcd顯示屏原理


            lcd相關(guān)文章:lcd原理

            上一頁(yè) 1 2 3 下一頁(yè)

            評(píng)論


            相關(guān)推薦

            技術(shù)專區(qū)

            關(guān)閉