طلب عااااااااااااااااجل الى محترفي البرمجه ..!!!
السلام عليكم ورحمه الله وبركاااااته
أسعد الله أوقاتكم
وكتب الله لكم الاجر لما تقدمونه من معلومات فيمه في هذا المنتدى الرائع.
الى خبراء القريه أنا قمت بعمل مشروع propeller
مقارب لمشروع أبومعاذ مع العلم أنه اول مشروع لي لكن مشكلتي في البرمجه ف أنا ليس محترف لغات البرمجه الا من خلال متابعات بسيطه وقد قمت بكتابه هذا الكود فهل هو صحيح لاني أعاني مشاكل مع الميكرو سي مع العلم أن البك المستخدم 16f84a كرستاله 4 وهذا الكود
const int W[5]= {62,64,126,64,62};
const int E[5] = {127,73,73,73,73};
const int L[5] = {127,64,64,64,64};
const int C[5] = {62,65,65,65,65} ;
const int O[5] = {30,33,33,33,30 };
const int M[5] = {127,2,4,2,127};
const int I[5] = {0,65,127,65,0};
const int N[5] = {126,4,24,32,126};
const int M[5] = {127,2,4,2,127};
const int Y[5] = {3,4,120,4,3};
const int P[5] = {127,9,9,9,6};
const int R[5] = {127,25,25,41,70};
const int O[5] = {30,33,33,33,30 };
const int J[5] = {48,64,65,63,1};
const int E[5] = {127,73,73,73,73};
const int C[5] = {62,65,65,65,65} ;
const int T[5] = {1,1,127,1,1} ;
const int M[5] = {127,2,4,2,127};
const int O[5] = {30,33,33,33,30};
const int S[5] = {32,707349,2};
const int A[5] = {126,9,9,9,126};
const int E[5] = {127,73,73,73,73} ;
const int D[5] = {127,65,65,65,62};
const int A[5] = {126,9,9,9,126};
const int B[5] = {127,73,73,73,62};
const int U[5] = {63,64,64,64,63};
const int N[5] = {126,4,24,32,126};
const int A[5] = {126,9,9,9,126};
const int B[5] = {127,73,73,73,62};
const int N[5] = {127,73,73,73,73};
const int 7[5] = {65,33,17,9,7};
const int 7[5] = {65,33,17,9,7};
const int 7[5] = {65,33,17,9,7};
const int 2[5] = {66,97,81,73,70};
const int 7[5] = {65,33,17,9,7};
const int 9[5] = {38,73,73,73,62};
const int 8[5] = {62,73,73,73,62};
const int 9[5] = {38,73,73,73,62};
const int 9[5] = {38,73,73,73,62};
char x ;
void main() { trisb=0 ; portb=0 ;
while(1) {
///////////////////////////////////////////////////////
for(x=0;x<5;x++) { portb = W[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = E[x] ; delay_us(270) ; }
portb=0 ; delay_us(540) ;
for(x=0;x<5;x++) { portb = L[x] ; delay_us(270) ; }
portb=0 ; delay_us(540) ;
for(x=0;x<5;x++) { portb = C[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = O[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = M[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
////////////////////////////////////////////////////
portb=0 ; delay_us( 810) ;
for(x=0;x<5;x++) { portb = I[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = N[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
//////////////////////////////////////////////////////
for(x=0;x<5;x++) { portb = M[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = Y[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
//////////////////////////////////////////////////////
for(x=0;x<5;x++) { portb = P[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = R[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = O[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = J[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = E[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = C[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = T[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
/////////////////////////////////////////////////////////
portb=0 ; delay_us( 810) ;
for(x=0;x<5;x++) { portb = M[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = O[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = S[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = A[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = E[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = D[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
////////////////////////////////////////////////////////////////
portb=0 ; delay_us( 810) ;
for(x=0;x<5;x++) { portb = A[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = B[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = U[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = N[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = A[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
for(x=0;x<5;x++) { portb = B[x] ; delay_us(270) ; }
portb=0 ; delay_us( 540) ;
////////////////////////////////////////////////////
portb=0 ; delay_ms( 33) ;
|
|