Joined
Last Seen
-3 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
0 Endorsements
Ranked #107.65K
1 Posted Topic
#include<at89s8252.h> int i=0,j,k,l,m,a[]={63,6,91,79,102,109,125,7,127,111}; void enter(void) interrupt 0 { i++; if(i>999) i=999; P3_1=0; for(m=0;m<=1000;m++); P3_1=1; } void exit(void) interrupt 2 { i-; if(i<0) i=0; P3_0=0; FOR(m=0;m<=1000;m++); P3_0=1; } void main() { IE=133; TCON=5; P3_0=1; P3_1=1; i=0; while(1) { j=i%10; k=i/10; l=i/100; k=k-l*10; P2=a[j]; P0=a[k]; P1=a[l]; } }
The End.
abhiattri.love