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 / Replies / Hi ajish  I have tried a

Hi ajish  I have tried a

|

Microcontroller › 8051 › 8051 keeps executing › Hi ajish  I have tried a

August 9, 2013 at 9:14 am #10309
Sandeep
Participant

Hi ajish 

 

I have tried a simple LCD program also , its working fine

 

my problem is 

 

serial data i/p has to put on to string say str[20] a global array

 

den serially display it on the LCD

 

so now , displaying the string on  the LCD is working fine ,but storing the serial input characters in an array is giving the problem i guess

 

and next,

 

 

in my main function think i am firsst displaying “hello world ”  on my LCD and then my program enters a while(1); loop

 

now incase i get a recieve interrupt -> it jumps to ISR gets the character and stores in th array 

 

and den i need to print the string but after the ISR but it goes into the while(1);

 

what to do ?

 

den i thought i will use polling method to get the data, but that seems to be a bad practice.

 

wat do i do now ?

 

Thank you

 

Sandeep

 

 

RSS Recent Posts

  • isolating S-params in of PCB board without connectors April 11, 2026
  • Assistance locating a 'trail' camera gadget, please ? April 10, 2026
  • Raise your hand if your car had one of these: April 10, 2026
  • Some opamp advice please April 10, 2026
  • Voltage comparator circuit verification April 10, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 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