tag:blogger.com,1999:blog-4681676246793118177.post4519308561342158386..comments2024-03-26T00:15:27.807-07:00Comments on Electronics The King of Hobbies!: 8-BIT UP or DOWN COUNTER USING PIC16F877AVinod.Shttp://www.blogger.com/profile/04232137991089701907noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-4681676246793118177.post-40141047461995325552018-03-02T23:48:00.058-08:002018-03-02T23:48:00.058-08:00whats the program for 4 digit seven segment displa...whats the program for 4 digit seven segment display for up and down counter??<br />Anonymoushttps://www.blogger.com/profile/05711205461169497798noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-22178063860740072622016-09-22T06:08:38.692-07:002016-09-22T06:08:38.692-07:00#include
delay ()
{
for (int i=0; i<20000; i...#include <br />delay () <br /> {<br />for (int i=0; i<20000; i++);<br />}<br />#define _XTAL_FREQ 20e6<br />__CONFIG(0x3F3A);<br />unsigned char count=0;<br />main()<br />{<br />ADCON1=0b00001111; //to make PORTE as digital I/O pins.<br />TRISD=0;<br />TRISE0=1;<br />TRISE1=1;<br />while(1)<br /> {<br /> if(RE0==1)<br /> {<br />int k=0x80;<br />while(1){<br />PORTD=k;<br />k=(k>>1);<br />delay();<br />if (k<0x01)<br /> {<br />k=0x80;<br />}<br />}<br /> } <br /> }<br />}<br /> try to this one....Anonymoushttps://www.blogger.com/profile/14339436224072299018noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-53011118026527719062016-09-22T06:08:14.146-07:002016-09-22T06:08:14.146-07:00try to above code....try to above code....Anonymoushttps://www.blogger.com/profile/14339436224072299018noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-70552508006781231522016-09-22T06:03:17.964-07:002016-09-22T06:03:17.964-07:00try to above code....try to above code....Anonymoushttps://www.blogger.com/profile/14339436224072299018noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-51434775427547458582016-09-22T06:02:21.336-07:002016-09-22T06:02:21.336-07:00#include
delay ()
{
for (int i=0; i<20000; i...#include <br />delay () <br /> {<br />for (int i=0; i<20000; i++);<br />}<br />#define _XTAL_FREQ 20e6<br />__CONFIG(0x3F3A);<br />unsigned char count=0;<br />main()<br />{<br />ADCON1=0b00001111; //to make PORTE as digital I/O pins.<br />TRISD=0;<br />TRISE0=1;<br />TRISE1=1;<br />while(1)<br /> {<br /> if(RE0==1)<br /> {<br />int k=0x80;<br />while(1){<br />PORTD=k;<br />k=(k>>1);<br />delay();<br />if (k<0x01)<br /> {<br />k=0x80;<br />}<br />}<br /> } <br /> }<br />}<br /> try to this one....Anonymoushttps://www.blogger.com/profile/14339436224072299018noreply@blogger.comtag:blogger.com,1999:blog-4681676246793118177.post-7317541152351302342012-02-15T02:26:51.343-08:002012-02-15T02:26:51.343-08:00hyh... is this circuit and program working? becaus...hyh... is this circuit and program working? because i have already try making this one and it is not working.. maybe there's something wrong with our circuit or something.. pls can u help me?nebzhttps://www.blogger.com/profile/06727429666521128728noreply@blogger.com