Thông báo

Collapse
No announcement yet.

Câu lạc bộ thức trắng cùng dientuvietnam.net

Collapse
This is a sticky topic.
X
X
 
  • Lọc
  • Giờ
  • Show
Clear All
new posts

  • đêm nay là đêm thứ 3 ko ngủ đc ^^
    ĐT: 0972 20 58 68
    Gmail:

    Comment


    • ô lala. cả tháng nay không thấy ai thức nữa nhỉ.




      facebook:

      Comment


      • Nguyên văn bởi THSANG AUTO Xem bài viết
        bùm bùm chíu chíu, pằng pằng. bùmbbuuùm...............
        Cf hử bác...

        Email:
        Gmail:

        Comment


        • Nguyên văn bởi THSANG AUTO Xem bài viết
          ô lala. cả tháng nay không thấy ai thức nữa nhỉ.
          k phải là k thức mà là thức nhưng mà k vào...tết nhất tới nơi rồi lắm cái phải lo nên chẳng còn tâm trí mà câu mí chẳng lạc bộ bác ak...
          giờ này còn ai k nhỉ...vô điểm danh hề hề
          good luck !!!

          Email:
          Gmail:

          Comment


          • happy new year !!!!!!!!

            chúc bà con cô bác anh chị em trong diễn đàn có một năm mới đạt được nhiều thắng lợi mới. Có được nhiều thành công mới trong công việc cũng như trong cuộc sống, và ngày càng phát triển ngành điện điện tử hơn
            .....




            facebook:

            Comment


            • Nguyên văn bởi vuongvanminh Xem bài viết
              Những việc như thế này không phải là đàn đúm mà bắt buộc phải đi(đối tác mà)
              em mới anh cùng quê he he

              Comment


              • thức đêm mệt thật, may mà việc cũng xong tàm tạm rồi

                Comment


                • đợt này lạnh chắc chẳng có bác nào chịu thức nữa nhỉ,,,,

                  Comment


                  • Nguyên văn bởi tuanqs Xem bài viết
                    đợt này lạnh chắc chẳng có bác nào chịu thức nữa nhỉ,,,,
                    lạnh là việc của trời, làm là việc của mình,
                    k là k thế nào
                    chiến như thường
                    good luck !!!

                    Email:
                    Gmail:

                    Comment


                    • tối nay sẽ thức khuya nghiên cứu cái pLc s7 200 để mô phỏng cái thang máy, code phức tạp quá, bác nào giúp 1 tay ????
                      làm áo bóng đá, áo đồng phục rẻ nhất hà nội

                      Comment


                      • Alo đêm nay có ai thức không nhỉ <3

                        Comment


                        • Đêm thì ai muốn thức trăng đâu tất cả chỉ vì công việc và lòng ham mê thì mới thức được. Bạn nao danh sưả giúp đoan code trên từ 8x32 thành 8x64 hộ mình với.mình không biết sưả đang tìm hiểu về nó để mình học hỏi
                          Led ma trận 8x32
                          ;..............CHƯƠNG TRÌNH CHÍNH.................
                          #include <REGX52.H>
                          #include <string.h>
                          //******************BANG MA ASCII on LED matrix font5x7 ****************
                          unsigned char code code_Tab[97][6]={
                          0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,//SPACE 0
                          0xFF,0xFF,0xA0,0xFF,0xFF,0xFF,//! 1
                          0xFF,0xFF,0xF8,0xF4,0xFF,0xFF,//' 2
                          0xEB,0x80,0xEB,0x80,0xEB,0xFF,//# 3
                          0xDB,0xD5,0x80,0xD5,0xED,0xFF,//$ 4
                          0xD8,0xEA,0x94,0xAB,0x8D,0xFF,//% 5
                          0xC9,0xB6,0xA9,0xDF,0xAF,0xFF,//& 6
                          0xFF,0xFF,0xF8,0xF4,0xFF,0xFF,//' 7
                          0xFF,0xE3,0xDD,0xBE,0xFF,0xFF,//( 8
                          0xFF,0xBE,0xDD,0xE3,0xFF,0xFF,//) 9
                          0xD5,0xE3,0x80,0xE3,0xD5,0xFF,//* 10
                          0xF7,0xF7,0xC1,0xF7,0xF7,0xFF,//+ 11
                          0xFF,0xA7,0xC7,0xFF,0xFF,0xFF,//, 12
                          0xF7,0xF7,0xF7,0xF7,0xF7,0xFF,//- 13
                          0xFF,0x9F,0x9F,0xFF,0xFF,0xFF,//x 14
                          0xFF,0xC9,0xC9,0xFF,0xFF,0xFF,// / 15
                          0xC1,0xAE,0xB6,0xBA,0xC1,0xFF,//0 16
                          0xFF,0xBD,0x80,0xBF,0xFF,0xFF,//1 17
                          0x8D,0xB6,0xB6,0xB6,0xB9,0xFF,//2 18
                          0xDD,0xBE,0xB6,0xB6,0xC9,0xFF,//3 19
                          0xE7,0xEB,0xED,0x80,0xEF,0xFF,//4 20
                          0xD8,0xBA,0xBA,0xBA,0xC6,0xFF,//5 21
                          0xC3,0xB5,0xB6,0xB6,0xCF,0xFF,//6 22
                          0xFE,0x8E,0xF6,0xFA,0xFC,0xFF,//7 23
                          0xC9,0xB6,0xB6,0xB6,0xC9,0xFF,//8 24
                          0xF9,0xB6,0xB6,0xD6,0xE1,0xFF,//9 25
                          0xFF,0xC9,0xC9,0xFF,0xFF,0xFF,//: 26
                          0xFF,0xA4,0xC4,0xFF,0xFF,0xFF,//// 27
                          0xF7,0xEB,0xDD,0xBE,0xFF,0xFF,//< 28
                          0xEB,0xEB,0xEB,0xEB,0xEB,0xFF,//= 29
                          0xFF,0xBE,0xDD,0xEB,0xF7,0xFF,//> 30
                          0xFD,0xFE,0xAE,0xF6,0xF9,0xFF,//? 31
                          0xCD,0xB6,0x8E,0xBE,0xC1,0xFF,//@ 32
                          0x83,0xF5,0xF6,0xF5,0x83,0xFF,//A 33
                          0xBE,0x80,0xB6,0xB6,0xC9,0xFF,//B 34
                          0xC1,0xBE,0xBE,0xBE,0xDD,0xFF,//C 35
                          0xBE,0x80,0xBE,0xBE,0xC1,0xFF,//D 36
                          0x80,0xB6,0xB6,0xB6,0xBE,0xFF,//E 37
                          0x80,0xF6,0xF6,0xFE,0xFE,0xFF,//F 38
                          0xC1,0xBE,0xB6,0xB6,0xC5,0xFF,//G 39
                          0x80,0xF7,0xF7,0xF7,0x80,0xFF,//H 40
                          0xFF,0xBE,0x80,0xBE,0xFF,0xFF,//I 41
                          0xDF,0xBF,0xBE,0xC0,0xFE,0xFF,//J 42
                          0x80,0xF7,0xEB,0xDD,0xBE,0xFF,//K 43
                          0x80,0xBF,0xBF,0xBF,0xFF,0xFF,//L 44
                          0x80,0xFD,0xF3,0xFD,0x80,0xFF,//M 45
                          0x80,0xFD,0xFB,0xF7,0x80,0xFF,//N 46
                          0xC1,0xBE,0xBE,0xBE,0xC1,0xFF,//O 47
                          0x80,0xF6,0xF6,0xF6,0xF9,0xFF,//P 48
                          0xC1,0xBE,0xAE,0xDE,0xA1,0xFF,//Q 49
                          0x80,0xF6,0xE6,0xD6,0xB9,0xFF,//R 50
                          0xD9,0xB6,0xB6,0xB6,0xCD,0xFF,//S 51
                          0xFE,0xFE,0x80,0xFE,0xFE,0xFF,//T 52
                          0xC0,0xBF,0xBF,0xBF,0xC0,0xFF,//U 53
                          0xE0,0xDF,0xBF,0xDF,0xE0,0xFF,//V 54
                          0xC0,0xBF,0xCF,0xBF,0xC0,0xFF,//W 55
                          0x9C,0xEB,0xF7,0xEB,0x9C,0xFF,//X 56
                          0xFC,0xFB,0x87,0xFB,0xFC,0xFF,//Y 57
                          0x9E,0xAE,0xB6,0xBA,0xBC,0xFF,//Z 58
                          0xFF,0x80,0xBE,0xBE,0xFF,0xFF,//[ 59
                          0xFD,0xFB,0xF7,0xEF,0xDF,0xFF,//\ 60
                          0xFF,0xBE,0xBE,0x80,0xFF,0xFF,//] 61
                          0xFB,0xFD,0xFE,0xFD,0xFB,0xFF,//^ 92
                          0x7F,0x7F,0x7F,0x7F,0x7F,0xFF,//_ 63
                          0xFF,0xFF,0xF8,0xF4,0xFF,0xFF,//' 64
                          0xDF,0xAB,0xAB,0xAB,0xC7,0xFF,//a 65
                          0x80,0xC7,0xBB,0xBB,0xC7,0xFF,//b 66
                          0xFF,0xC7,0xBB,0xBB,0xBB,0xFF,//c 67
                          0xC7,0xBB,0xBB,0xC7,0x80,0xFF,//d 68
                          0xC7,0xAB,0xAB,0xAB,0xF7,0xFF,//e 69
                          0xF7,0x81,0xF6,0xF6,0xFD,0xFF,//f 70
                          0xF7,0xAB,0xAB,0xAB,0xC3,0xFF,//g 71
                          0x80,0xF7,0xFB,0xFB,0x87,0xFF,//h 72
                          0xFF,0xBB,0x82,0xBF,0xFF,0xFF,//i 73
                          0xDF,0xBF,0xBB,0xC2,0xFF,0xFF,//j 74
                          0xFF,0x80,0xEF,0xD7,0xBB,0xFF,//k 75
                          0xFF,0xBE,0x80,0xBF,0xFF,0xFF,//l 76
                          0x83,0xFB,0x87,0xFB,0x87,0xFF,//m 77
                          0x83,0xF7,0xFB,0xFB,0x87,0xFF,//n 78
                          0xC7,0xBB,0xBB,0xBB,0xC7,0xFF,//o 79
                          0x83,0xEB,0xEB,0xEB,0xF7,0xFF,//p 80
                          0xF7,0xEB,0xEB,0xEB,0x83,0xFF,//q 81
                          0x83,0xF7,0xFB,0xFB,0xF7,0xFF,//r 82
                          0xB7,0xAB,0xAB,0xAB,0xDB,0xFF,//s 83
                          0xFF,0xFB,0xC0,0xBB,0xBB,0xFF,//t 84
                          0xC3,0xBF,0xBF,0xDF,0x83,0xFF,//u 85
                          0xE3,0xDF,0xBF,0xDF,0xE3,0xFF,//v 86
                          0xC3,0xBF,0xCF,0xBF,0xC3,0xFF,//w 87
                          0xBB,0xD7,0xEF,0xD7,0xBB,0xFF,//x 88
                          0xF3,0xAF,0xAF,0xAF,0xC3,0xFF,//y 89
                          0xBB,0x9B,0xAB,0xB3,0xBB,0xFF,//z 90
                          0xFB,0xE1,0xE0,0xE1,0xFB,0xFF,//^ 62
                          0xE3,0xE3,0xC1,0xE3,0xF7,0xFF,//-> 93
                          0xF7,0xE3,0xC1,0xE3,0xE3,0xFF,//<- 94
                          0xEF,0xC3,0x83,0xC3,0xEF,0xFF,// 95
                          0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,//BLANK CHAR 96
                          };
                          sbit SDA = P2^0;
                          sbit SCL = P2^1;
                          sbit STR = P2^2;
                          sfr DataPort = 0x90;
                          //-------------------------------------------
                          //-------------------------------------------
                          unsigned char*String_input="Chao mung cac ban den voi website daihocdientu4.jimdo.com- Chuc cac ban co nhung giay phut vui ve tren website";
                          // thay doi chu chay bat ky o day !!
                          unsigned int Pos=0,lengh_STR;
                          unsigned char Tic=0;
                          #define With_of_font 6
                          void main (){
                          unsigned char Temp_code;
                          unsigned int j;
                          TMOD=0x01;
                          TH0=TL0=-100;
                          TR0=1;
                          ET0=1;
                          lengh_STR = strlen(String_input)*6;
                          EA=1;
                          while(1){
                          SDA=1;
                          for(j=Pos;j<32+Pos;j++){
                          Temp_code=code_Tab[ String_input[(j%lengh_STR)/With_of_font] -32][j%With_of_font];
                          DataPort=0xFF;
                          SCL=1;
                          SCL=0;
                          STR=1;
                          STR=0;
                          DataPort = Temp_code;
                          SDA=0;
                          }
                          }
                          }
                          void INT_Timer0()interrupt 1{
                          Tic++;
                          if(Tic==2){
                          Tic=0;
                          Pos++;
                          if(Pos>=lengh_STR)
                          Pos=0;
                          } }
                          Email:
                          phương trâm sống "như thế vẫn là chưa đủ"

                          Comment


                          • Dạo này cũng thức vì món 8051. Em mới mò mẫm nên cũng chưa hiểu nhiều. Nhiều tối đọc mà chẳng hiểu gì. Ai có kinh nghiệm gì không chỉ em với!

                            Let's go!!!

                            Comment


                            • các bác có thể giúp e cái đoạn code này k vậy: e thank các bác trước nha !
                              nó dịch k từ trái qua phai mà nó dịch tào lao j k ak

                              #include<at89x52.h>
                              #include<string.h>
                              //-------------Khai bao bien-------------
                              sbit SCK=P2^1;
                              sbit DATA=P2^0;
                              sbit LATCH=P2^2;
                              int m,n,k,a;
                              //--------------Khai bao mang------------

                              unsigned char code hang[]=
                              {
                              0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//led tat
                              0xFF,0x81,0x00,0x7E,0x7E,0x7E,0xBD,0xFF,//C
                              0xFF,0x00,0x00,0xEF,0xEF,0x00,0x00,0xFF,//H
                              0xFF,0x01,0x00,0xFE,0xFE,0x00,0x01,0xFF,//U
                              0xFF,0x81,0x00,0x7E,0x7E,0x7E,0xBD,0xFF,//C
                              0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//led tat
                              0x00,0x80,0xDF,0xEF,0xDF,0x80,0x00,0xFF,//M
                              0xFF,0x01,0x00,0xFE,0xFE,0x00,0x01,0xFF,//U
                              0x00,0x80,0xDF,0xEF,0xF7,0x00,0x00,0xFF,//N
                              0xFF,0x81,0x00,0x7E,0x76,0x76,0xB1,0xFF,//G
                              0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//led tat
                              0x00,0x80,0xDF,0xEF,0xF7,0x00,0x00,0xFF,//N
                              0xFF,0xC0,0x80,0x77,0x77,0x80,0xC0,0xFF,//A
                              0x00,0x80,0xDF,0xEF,0xDF,0x80,0x00,0xFF,//M
                              0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//led tat
                              0x00,0x80,0xDF,0xEF,0xDF,0x80,0x00,0xFF,//M
                              0xFF,0x81,0x00,0x7E,0x7E,0x00,0x81,0xFF,//0
                              0xFF,0xFF,0x7E,0x00,0x00,0x7E,0xFF,0xFF,//I
                              0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//led tat
                              0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//led tat
                              0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//led tat
                              };
                              unsigned char cot[] ={0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80};
                              //-------------Ham tre-----------------
                              delay(long t)
                              {
                              int i=0,j;
                              for(;i<=4;i++)
                              for(j=0;j<=t;j++);
                              }
                              //-----------Ham cho phep ghi vao thanh ghi HC595---------------
                              Data_bit()
                              {
                              SCK=1;
                              SCK=0;
                              }
                              //------------Ham viet 8 bit vao thanh ghi HC595--------------
                              void data_byte(unsigned char x)
                              {
                              unsigned char data temp,i;
                              for(i=0;i<8;i++)
                              {
                              temp=x;
                              temp=temp&0x80;
                              if(temp==0x80)
                              DATA=1;
                              else
                              DATA=0;
                              x=x<<1;
                              Data_bit();
                              }
                              }

                              //-------------Ham xuat gia tri tu thanh ghi ra cong ra HC595--------------
                              xuat()
                              {
                              LATCH=1;
                              LATCH=0;
                              }
                              //-------------Ham hien thi ra LED ma tran-----------------
                              hienthi()
                              {
                              for(n=0;n<=8;n++)
                              {
                              if(n+m>=32)// thêm led thì + 8
                              data_byte(hang[n+m-32]);
                              else
                              data_byte(hang[n]);
                              if(n+m>=24)
                              data_byte(hang[n+m-24]);
                              else
                              data_byte(hang[n]);
                              if(n+m>=16)
                              data_byte(hang[n+m-16]);
                              else
                              data_byte(hang[n]);
                              if(n+m>=8)
                              data_byte(hang[n+m-8]);
                              else
                              data_byte(hang[n]);
                              if(n+m<=21*8-1)// so luong chu bang 21
                              data_byte(hang[n+m]);
                              else
                              data_byte(hang[n]);
                              P1=cot[n];
                              xuat();
                              delay(2);
                              }
                              }

                              //-----------Ham chinh------------------
                              main(void)
                              {
                              while(1)
                              {
                              for(k=0;k<=10;k++)
                              {
                              hienthi();
                              delay(2);
                              }
                              m++;
                              if(m==21*8-1)m=0;
                              }
                              }
                              Last edited by kiepngheo; 30-01-2013, 20:42.
                              TÌNH YÊU KHÔNG TỰ SINH RA CŨNG KHÔNG TỰ MÂT ĐI
                              MÀ NÓ CHỈ CHUYỂN HÓA TỪ NGƯỜI NÀY SANG NGƯỜI KHÁC . . . ! ! ! !...

                              Comment


                              • Nguyên văn bởi kiepngheo Xem bài viết
                                các bác có thể giúp e cái đoạn code này k vậy: e thank các bác trước nha !
                                nó dịch k từ trái qua phai mà nó dịch tào lao j k ak

                                #include<at89x52.h>
                                #include<string.h>
                                //-------------Khai bao bien-------------
                                sbit SCK=P2^1;
                                sbit DATA=P2^0;
                                sbit LATCH=P2^2;
                                int m,n,k,a;
                                //--------------Khai bao mang------------

                                unsigned char code hang[]=
                                {
                                0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//led tat
                                0xFF,0x81,0x00,0x7E,0x7E,0x7E,0xBD,0xFF,//C
                                0xFF,0x00,0x00,0xEF,0xEF,0x00,0x00,0xFF,//H
                                0xFF,0x01,0x00,0xFE,0xFE,0x00,0x01,0xFF,//U
                                0xFF,0x81,0x00,0x7E,0x7E,0x7E,0xBD,0xFF,//C
                                0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//led tat
                                0x00,0x80,0xDF,0xEF,0xDF,0x80,0x00,0xFF,//M
                                0xFF,0x01,0x00,0xFE,0xFE,0x00,0x01,0xFF,//U
                                0x00,0x80,0xDF,0xEF,0xF7,0x00,0x00,0xFF,//N
                                0xFF,0x81,0x00,0x7E,0x76,0x76,0xB1,0xFF,//G
                                0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//led tat
                                0x00,0x80,0xDF,0xEF,0xF7,0x00,0x00,0xFF,//N
                                0xFF,0xC0,0x80,0x77,0x77,0x80,0xC0,0xFF,//A
                                0x00,0x80,0xDF,0xEF,0xDF,0x80,0x00,0xFF,//M
                                0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//led tat
                                0x00,0x80,0xDF,0xEF,0xDF,0x80,0x00,0xFF,//M
                                0xFF,0x81,0x00,0x7E,0x7E,0x00,0x81,0xFF,//0
                                0xFF,0xFF,0x7E,0x00,0x00,0x7E,0xFF,0xFF,//I
                                0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//led tat
                                0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//led tat
                                0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//led tat
                                };
                                unsigned char cot[] ={0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80};
                                //-------------Ham tre-----------------
                                delay(long t)
                                {
                                int i=0,j;
                                for(;i<=4;i++)
                                for(j=0;j<=t;j++);
                                }
                                //-----------Ham cho phep ghi vao thanh ghi HC595---------------
                                Data_bit()
                                {
                                SCK=1;
                                SCK=0;
                                }
                                //------------Ham viet 8 bit vao thanh ghi HC595--------------
                                void data_byte(unsigned char x)
                                {
                                unsigned char data temp,i;
                                for(i=0;i<8;i++)
                                {
                                temp=x;
                                temp=temp&0x80;
                                if(temp==0x80)
                                DATA=1;
                                else
                                DATA=0;
                                x=x<<1;
                                Data_bit();
                                }
                                }

                                //-------------Ham xuat gia tri tu thanh ghi ra cong ra HC595--------------
                                xuat()
                                {
                                LATCH=1;
                                LATCH=0;
                                }
                                //-------------Ham hien thi ra LED ma tran-----------------
                                hienthi()
                                {
                                for(n=0;n<=8;n++)
                                {
                                if(n+m>=32)// thêm led thì + 8
                                data_byte(hang[n+m-32]);
                                else
                                data_byte(hang[n]);
                                if(n+m>=24)
                                data_byte(hang[n+m-24]);
                                else
                                data_byte(hang[n]);
                                if(n+m>=16)
                                data_byte(hang[n+m-16]);
                                else
                                data_byte(hang[n]);
                                if(n+m>=8)
                                data_byte(hang[n+m-8]);
                                else
                                data_byte(hang[n]);
                                if(n+m<=21*8-1)// so luong chu bang 21
                                data_byte(hang[n+m]);
                                else
                                data_byte(hang[n]);
                                P1=cot[n];
                                xuat();
                                delay(2);
                                }
                                }

                                //-----------Ham chinh------------------
                                main(void)
                                {
                                while(1)
                                {
                                for(k=0;k<=10;k++)
                                {
                                hienthi();
                                delay(2);
                                }
                                m++;
                                if(m==21*8-1)m=0;
                                }
                                }
                                đang buồn ngủ đọc mấy cái này k khéo tỉnh tới sáng quá
                                good luck

                                Email:
                                Gmail:

                                Comment

                                Về tác giả

                                Collapse

                                techpro Tìm hiểu thêm về techpro

                                Bài viết mới nhất

                                Collapse

                                Đang tải...
                                X