EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home

ddrk

  • Profile
  • Topics Started
  • Replies Created
  • Engagements

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • June 28, 2013 at 4:51 am in reply to: plz tell the problem in this lcd program.it is not showing the output #10050
    ddrk
    Participant

    just change the this 

     

    connect your lcd data pins to P2

     

    void lcd_command(unsigned char value)
    {
    P2=value;
    rs=0;
    rw=0;
    e=1;
    delay_ms(100);
    e=0;
    }
    void lcd_data(unsigned char value)
    {
    P2=value;
    rs=1;
    rw=0;
    e=1;
    delay_ms(100);
    e=0;
    }
     
    or 
     
    if you use this connect ur lcd data pins to P1
     
    void lcd_command(unsigned char value)
    {
    P1=value;
    rs=0;
    rw=0;
    e=1;
    delay_ms(100);
    e=0;
    }
    void lcd_data(unsigned char value)
    {
    P1=value;
    rs=1;
    rw=0;
    e=1;
    delay_ms(100);
    e=0;
    }
    June 26, 2013 at 8:05 am in reply to: 89S51 and 89C51 similarity or difference #10036
    ddrk
    Participant
    • 89c51 and 89s51 difference……
    •  
    • In S series  the main difference is that you can program the “S” verison through ISP (in application) or using very simple programmers, while the “C” version still needs “full” parallel programmer . (ISP stands for In System Programming)
    •  
  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)

RSS Recent Posts

  • PIC KIT 3 not able to program dsPIC June 20, 2025
  • Wideband matching an electrically short bowtie antenna; 50 ohm, 434 MHz June 20, 2025
  • using a RTC in SF basic June 20, 2025
  • Relay buzzing after transformer change? June 20, 2025
  • Back to the old BASIC days June 19, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise