Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

problem with LCD; mikroc-pic

Status
Not open for further replies.
Did you compile the code using mikroC? Send your hex file.

The problem is caused by this code

Code:
if(ss_select&&copy_set!=0)
 {

  intcon=0xA0;
  if(io)
  {
   intcon=0x00;
   rly1=1;
   one=0;
   rly2=1;
   ten=0;
   led=1;
 
Last edited:

i attached the hex file. for testing purpose i changed the Min to sec in smh value.....check this?

- - - Updated - - -

but the code is run only io is in 1 condition.initially io is in 0... then how it will cause the output
 

Attachments

  • 0-99min hex final.ZIP
    1.9 KB · Views: 52

Check with this hex file.
 

Attachments

  • timer.rar
    1.8 KB · Views: 52
  • Like
Reactions: mailus

    mailus

    Points: 2
    Helpful Answer Positive Rating
interesting my problem solved,,,,,great
but the user input"00"shows as"/0".

- - - Updated - - -

point my problem please.
 

Check in proteus. Is it displaying 00?

add these lines after OPTION_REG = 0x07;

Code:
ss_select = 0;
copy_set = 0;
 
  • Like
Reactions: mailus

    mailus

    Points: 2
    Helpful Answer Positive Rating
yes, proteus shows "00". but in real time it shows "/0"

- - - Updated - - -

why it is followed by option_reg=0x07; what's the reason.

- - - Updated - - -

i corrected the code.my problem solved,,,, i found reason for my problem....thank you very much internetuser2k12. whenever i need help i will contact you....
 

yes, proteus shows "00". but in real time it shows "/0"

- - - Updated - - -

why it is followed by option_reg=0x07; what's the reason.

- - - Updated - - -

i corrected the code.my problem solved,,,, i found reason for my problem....thank you very much internetuser2k12. whenever i need help i will contact you....

what was the problem?
 

The display /0 problem solved. assign the one and ten value to zero after copy-set value assigned.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top