FMUSER Wirless Transmit Video And Audio More Easier !

[email protected] WhatsApp +8618078869184
Language

    PIC microcontroller implementation LCD1602 display letter A

     

    "PIC MCU LCD1602 displays a single a-word program STATUS EQU 3H ; Define status register address PORTA EQU 5H ; Define RA port data register address PORTC EQU 7H ; Define RC port data register ground PORTD EQU 8H ; Define Rd port data register address TRISA EQU 85H ; Define the address of RA port direction control register TRISC EQU 87H ; Define the address of RC port direction control register TRISD EQU 88H ; Define the address of RD port direction control register ADCON1 EQU 9FH ; Defines the address of ADC module control register 1 ;******************** Z EQU 2 ; Defines the bit address of the 0 status bit RP0 EQU 5 ; Defines the bit address of page selection bit RP0 ;********************* RS EQU 2 ; The LCD register selection signal pin is defined in rd.2 pin RW EQU 1 ; LCD read / write signal pin is defined in rd.1 pin E EQU 0 ; LCD chip selection signal pin is defined in rd.0 pin ;********************** ORG 000H NOP ; Place an empty operation instruction required by ICD GOTO MAIN ORG 0008H MAIN BSF STATUS,RP0 MOV LW 07H MOV WF ADCON1 ; Set all RA ports as ordinary digital IO ports MOV LW 00H ; Define RA port, RC port and RD port as output MOV WF TRISC MOV WF TRISD BCF STATUS,RP0 CALL DELAY ; When calling, LCD reset may not be as fast as pic just after power on MOV LW 01H MOV WF PORTC ; Clear screen CALL ENABLE MOV LW 38H MOV WF PORTC ; 8-bit 2-line 5x7 dot matrix CALL ENABLE MOV LW 0FH MOV WF PORTC ; Display on, cursor on, flashing on CALL ENABLE MOV LW 06H MOV WF PORTC ; When the text does not move, the cursor automatically moves to the right CALL ENABLE MOV LW 0C0H MOV WF PORTC ; Write display start address (first position on the first line) CALL ENABLE MOV LW 41H MOV WF PORTC ; Code for letter "a" BSF PORTD,RS BCF PORTD,RW BCF PORTD,E CALL DELAY BSF PORTD,E GOTO $ ENABLE BCF PORTD,RS ; Subroutine for writing control command BCF PORTD,RW BCF PORTD,E CALL DELAY BSF PORTD,E RETLW 0 ;******************************************** DELAY ; The subroutine name is also the subroutine entry address MOV lw 0ffh ; Pass the outer loop parameter value FFH through W MOV wf 20h ; Feed 20h unit as external circulation variable lp0 MOV lw 0ffh ; Pass the inner loop parameter value FFH through W MOV wf 21h ; Feed 21h unit used as internal circulation variable lp1 nop decfsz 21h,1 ; The content of variable 21h decreases. If it is 0, skip goto lp1 ; Jump to Lp1 decfsz 20h,1 ; The content of variable 20h decreases. If it is 0, skip goto lp0 ; Jump to lp0 return ; Return to main program end ; At the end of the source program, read the full text and the technical zone Driving design of led by serial port of 51 single chip microcomputer PIC MCU realizes LCD1602 to display letter A Serial port connection with Proteus in 51 single chip microcomputer MCU stack Analysis of the construction method of a new multi MCU system based on I2C bus, Download enthusiast app Create an electronic circle of your contacts Pay attention to wechat of electronic enthusiasts Interesting and informative information and technology dry goods Focus on enthusiast class Lock in the latest course activities and technology live broadcast Electronic enthusiast observation Front line report, in-depth observation, latest information, collection 0 collections Share:, comment Lin Chaowen PCB Design: pads tutorial, pads video tutorial, Zheng Zhenyu teacher: Altium designer tutorial, Altium designer video tutorial, Zhang Fei actual combat electronic video tutorial, Zhu Youpeng teacher: Hisilicon hi3518e tutorial, hi3518e video tutorial, Li Zeng teacher: signal integrity tutorial, high-speed circuit simulation tutorial, Huawei Hongmeng system tutorial, harmonyos video tutorial, saisheng: EMC design tutorial, EMC video tutorial Mr. Du Yang: STM32 tutorial, STM32 video tutorial, Tang zuolin: basic C language tutorial, basic C language video tutorial, Zhang Fei: Buck Power tutorial, buck power video tutorial, punctual atom: FPGA tutorial, FPGA video tutorial, Mr. Wei Dongshan: embedded tutorial, Embedded video tutorial Zhang Xianfeng: C language basic video tutorial Xu Xiaogang: Modbus communication video tutorial Wang Zhentao: NB IOT development video tutorial mill: FPGA tutorial, zynq video tutorial c language video tutorial linux driver development video tutorial Zhu Youpeng: u-boot source code analysis video tutorial harmonyos,  Press and hold the slider and drag to the far right Learn about new features Published, relevant recommendations Introduction to the characteristics and advantages of pic8 bit single chip microcomputer Pic8 bit MCU has the advantages of less instructions and fast execution speed. The main reason is that pic Series MCU is different from other MCU in structure Published at 16:02 on December 13, 2018 • 70 readings Programming design of PIC MCU ADC #include __ CONFIG(0X1F71); #define uchar uns... Published at 14:26, December 12, 2018 • 107 readings How to update LCD data with PIC Single Chip Microcomputer To update the LCD, you can modify the contents of the lcddata register to light or not light each pixel on the LCD display. Apply firmware Published at 16:00 on December 11, 2018 • 82 readings How to correctly use the IIC communication inside PIC MCU #include #define uchar unsigned char #define... Published at 15:56, December 11, 2018 • 83 readings Questions about PIC MCU cf775 Published at 11:14, December 11, 2018 • 132 readings What are the factors affecting the power consumption of single chip microcomputer PIC MCU enters sleep power saving mode after executing sleep command. After entering sleep mode, the main oscillation stops. If the watchdog is burning Published at 15:41 on December 10, 2018 • 63 readings Control design of stepping motor with PIC Single Chip Microcomputer PIC16F874 stepper motor program listp=16f874 include ;--=... Published at 15:34, December 5, 2018 • 141 readings

     

     

     

     

    List all Question

    Nickname

    Email

    Questions

    Our other product:

    Professional FM Radio Station Equipment Package

     



     

    Hotel IPTV Solution

     


      Enter email  to get a surprise

      fmuser.org

      es.fmuser.org
      it.fmuser.org
      fr.fmuser.org
      de.fmuser.org
      af.fmuser.org ->Afrikaans
      sq.fmuser.org ->Albanian
      ar.fmuser.org ->Arabic
      hy.fmuser.org ->Armenian
      az.fmuser.org ->Azerbaijani
      eu.fmuser.org ->Basque
      be.fmuser.org ->Belarusian
      bg.fmuser.org ->Bulgarian
      ca.fmuser.org ->Catalan
      zh-CN.fmuser.org ->Chinese (Simplified)
      zh-TW.fmuser.org ->Chinese (Traditional)
      hr.fmuser.org ->Croatian
      cs.fmuser.org ->Czech
      da.fmuser.org ->Danish
      nl.fmuser.org ->Dutch
      et.fmuser.org ->Estonian
      tl.fmuser.org ->Filipino
      fi.fmuser.org ->Finnish
      fr.fmuser.org ->French
      gl.fmuser.org ->Galician
      ka.fmuser.org ->Georgian
      de.fmuser.org ->German
      el.fmuser.org ->Greek
      ht.fmuser.org ->Haitian Creole
      iw.fmuser.org ->Hebrew
      hi.fmuser.org ->Hindi
      hu.fmuser.org ->Hungarian
      is.fmuser.org ->Icelandic
      id.fmuser.org ->Indonesian
      ga.fmuser.org ->Irish
      it.fmuser.org ->Italian
      ja.fmuser.org ->Japanese
      ko.fmuser.org ->Korean
      lv.fmuser.org ->Latvian
      lt.fmuser.org ->Lithuanian
      mk.fmuser.org ->Macedonian
      ms.fmuser.org ->Malay
      mt.fmuser.org ->Maltese
      no.fmuser.org ->Norwegian
      fa.fmuser.org ->Persian
      pl.fmuser.org ->Polish
      pt.fmuser.org ->Portuguese
      ro.fmuser.org ->Romanian
      ru.fmuser.org ->Russian
      sr.fmuser.org ->Serbian
      sk.fmuser.org ->Slovak
      sl.fmuser.org ->Slovenian
      es.fmuser.org ->Spanish
      sw.fmuser.org ->Swahili
      sv.fmuser.org ->Swedish
      th.fmuser.org ->Thai
      tr.fmuser.org ->Turkish
      uk.fmuser.org ->Ukrainian
      ur.fmuser.org ->Urdu
      vi.fmuser.org ->Vietnamese
      cy.fmuser.org ->Welsh
      yi.fmuser.org ->Yiddish

       
  •  

    FMUSER Wirless Transmit Video And Audio More Easier !

  • Contact

    Address:
    No.305 Room HuiLan Building No.273 Huanpu Road Guangzhou China 510620

    E-mail:
    [email protected]

    Tel / WhatApps:
    +8618078869184

  • Categories

  • Newsletter

    FIRST OR FULL NAME

    E-mail

  • paypal solution  Western UnionBank OF China
    E-mail:[email protected]   WhatsApp:+8618078869184   Skype:sky198710021 Chat with me
    Copyright 2006-2020 Powered By www.fmuser.org

    Contact Us