Chai98a,
It is clear to me as presented. Is it wrong? I did not assume Common Anode – you told me it was Common Anode (see your third post). The transistors shown in your schematic and the code line Digits=~DCD i also imply Common Anode.Soory! for circuit not clear for you.. , we used 7 seg COM Cathode..
Your code is largely not commented
Your schematic is not complete
I spent considerable time sorting all this out and now I will not offer more until you give more detail.
1) Is the the schematic fragment correct?
2)What is the P/N of Q1-Q4 are they really PNP?
3)What troubles are you having (i.e., does the display light up (at all)? wrong temp? junk? just missing DP?)
4) Are pins 1 and 19 tied low on U2?
5) With the code you posted in #17, how does temp get set? (I don't believe it ever does)
From post #7and from post #17I can read data temp from ds1820 and send to RS232 -->OK but canot to diplay to 7 Seg. Ex 29.5C
it appears to me you have everything you need – your circuit works and you must have code to drive it; your temperature sensor reads temperature correctly.This circuit i have test with time counter alredly done no problem
I am not sure how to help you until you provide more information
Bookmarks