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.

DS1302 interfacing with pic 16F877

Status
Not open for further replies.

Blue_Key

Newbie level 2
Joined
Sep 21, 2008
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,293
ds1302 16f877

Hello,

i try to interface one DS1302 (real time clock) with one PIC 16F877A.

i have try different way, but each time i got the same bug.


The digits show 0 - 1 - 0 - 3 - 0 - 1 - 0 - 7 - 0 - 1 instead 0-1-2-3-...-8-9.


I try to find a solution by 1 week... i'm going crazy..


Here it's my code (with LCD): https://pastebin.com/febf0f69
And old code aswell (With 7 segements): https://pastebin.com/f6a624640

and both of them got the same bug.

If someone have the same problem and found a solution...

Thanks for your help.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top