Thông báo

Collapse
No announcement yet.

Mạch sao băng dung 89cxx

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

  • có thể gủi cho mình với ko
    tantao0383@gmail.com

    Comment


    • nơi show email mấy you hả
      SĐt: 01238004961

      Comment


      • share mach sao bang

        ban ơi share cho mình Mạch sao băng dung 89cxx với.mail mình :nguyentrongtin1990@gmail.com
        thanks ban truoc

        Comment


        • LedimmPacked.zip
          đây là phần mềm viết code cho dòng 89xx.
          viết code cho mạch sao băng mọi người nhấn control + nút cuộn chuột để tăng giảm độ sáng của led.
          có gì thắc mắc mọi người cứ hỏi mình biết đến đâu sẵn sàng giúp đỡ.

          Comment


          • bạn cho mình xin với...
            u_yaakaka@yahoo.com

            Comment


            • trời ơi...sao các bạn không chịu khó đọc hết các trang đi.....
              Sao để xóa chủ đề đây.....

              Comment


              • gửi cho mình cái nhé: luanpho@gmail.com

                Comment


                • Các bác biên dịch giúp e đoạn code này sang file.HEX giúp e nhé,
                  upload lên Mediafire dưới dạng file.HEX giúp e, e xin cảm ơn và hậu tạ ^^:
                  ORG 0000H
                  start:
                  call A
                  call A
                  call A
                  call B
                  call B
                  call B
                  call C
                  call C
                  call C
                  call D
                  jmp start
                  A:
                  mov p0, #11111110b
                  mov p1, #10011111b
                  mov p2, #11111001b
                  call delay
                  mov p0, #11111101b
                  call delay
                  mov p0, #11111011b
                  call delay
                  mov p0, #11110111b
                  call delay
                  mov p0, #11110111b
                  mov p1, #11110110b
                  mov p2, #01101111b
                  call delay
                  mov p0, #11111011b
                  call delay
                  mov p0, #11111101b
                  call delay
                  mov p0, #11111110b
                  call delay
                  ret
                  B:
                  mov p0, #11111110b
                  mov p1, #00000000b
                  mov p2, #00000000b
                  call delay
                  mov p0, #11111101b
                  call delay
                  mov p0, #11111011b
                  call delay
                  mov p0, #11110111b
                  call delay
                  mov p0, #11111011b
                  call delay
                  mov p0, #11111101b
                  call delay
                  ret
                  C:
                  mov p0, #00000000b
                  mov p1, #11110000b
                  call delay
                  mov p1, #00001111b
                  call delay
                  mov p2, #11110000b
                  call delay
                  mov p2, #00001111b
                  call delay
                  mov p2, #11110000b
                  call delay
                  mov p1, #00001111b
                  call delay
                  mov p1, #11110000b
                  call delay
                  ret
                  D:
                  mov p0, #00000000b
                  mov p1, #11111111b
                  mov p2, #11111111b
                  call delay
                  mov p1, #11111110b
                  mov p2, #11111111b
                  call delay
                  mov p1, #11111100b
                  mov p2, #11111111b
                  call delay
                  mov p1, #11111000b
                  mov p2, #11111111b
                  call delay
                  mov p1, #11110000b
                  mov p2, #11111111b
                  call delay
                  mov p1, #01110000b
                  mov p2, #11111111b
                  call delay
                  mov p1, #01110000b
                  mov p2, #11110111b
                  call delay
                  mov p1, #01110000b
                  mov p2, #01110111b
                  call delay
                  mov p1, #01110000b
                  mov p2, #00110111b
                  call delay
                  mov p1, #01110000b
                  mov p2, #00010111b
                  call delay
                  mov p1, #01110000b
                  mov p2, #00000111b
                  call delay
                  mov p1, #01110000b
                  mov p2, #00000110b
                  call delay
                  mov p1, #01100000b
                  mov p2, #00000110b
                  call delay
                  mov p1, #01000000b
                  mov p2, #00000110b
                  call delay
                  mov p1, #00000000b
                  mov p2, #00000110b
                  call delay
                  mov p1, #00000000b
                  mov p2, #00000010b
                  call delay
                  mov p1, #00000000b
                  mov p2, #00000000b
                  call delay
                  mov p1, #00100000b
                  mov p2, #00000000b
                  call delay
                  mov p1, #01100000b
                  mov p2, #00000100b
                  call delay
                  mov p1, #01100000b
                  mov p2, #00000110b
                  call delay
                  mov p1, #01100000b
                  mov p2, #00000111b
                  call delay
                  mov p1, #01110000b
                  mov p2, #00000111b
                  call delay
                  mov p1, #01110001b
                  mov p2, #00000111b
                  call delay
                  mov p1, #01110011b
                  mov p2, #00000111b
                  call delay
                  mov p1, #01110111b
                  mov p2, #00000111b
                  call delay
                  mov p1, #01111111b
                  mov p2, #00000111b
                  call delay
                  mov p1, #11111111b
                  mov p2, #00000111b
                  call delay
                  mov p1, #11111111b
                  mov p2, #00001111b
                  call delay
                  mov p1, #11111111b
                  mov p2, #10001111b
                  call delay
                  mov p1, #11111111b
                  mov p2, #11001111b
                  call delay
                  mov p1, #11111111b
                  mov p2, #11101111b
                  call delay
                  mov p1, #11111111b
                  mov p2, #11111111b
                  call delay
                  ret
                  delay:
                  mov r1,#2
                  lap2:
                  mov r2,#200
                  lap1:
                  mov r3,#250
                  djnz r3,$
                  djnz r2,lap1
                  djnz r1,lap2
                  ret
                  end

                  Comment


                  • nghe hay ghê ! gửi mình với nhé ! nguyenvanhieu2403@gmail.com

                    Comment


                    • sao chuong trinh y loi nhieu the nho ? ak hay do t kem ! hihi

                      Comment


                      • Chương trình đầy đủ của nó là ntn, mình thu gọn nó lại đấy:
                        ORG 0000H
                        start:
                        call A
                        call A
                        call A
                        call B
                        call B
                        call B
                        call C
                        call C
                        call C
                        call D
                        jmp start
                        A:
                        mov p0, #11111110b
                        mov p1, #10011111b
                        mov p2, #11111001b
                        call delay
                        mov p0, #11111101b
                        mov p1, #10011111b
                        mov p2, #11111001b
                        call delay
                        mov p0, #11111011b
                        mov p1, #10011111b
                        mov p2, #11111001b
                        call delay
                        mov p0, #11110111b
                        mov p1, #10011111b
                        mov p2, #11111001b
                        call delay
                        mov p0, #11110111b
                        mov p1, #11110110b
                        mov p2, #01101111b
                        call delay
                        mov p0, #11111011b
                        mov p1, #11110110b
                        mov p2, #01101111b
                        call delay
                        mov p0, #11111101b
                        mov p1, #11110110b
                        mov p2, #01101111b
                        call delay
                        mov p0, #11111110b
                        mov p1, #11110110b
                        mov p2, #01101111b
                        call delay
                        ret
                        B:
                        mov p0, #11111110b
                        mov p1, #00000000b
                        mov p2, #00000000b
                        call delay
                        mov p0, #11111101b
                        mov p1, #00000000b
                        mov p2, #00000000b
                        call delay
                        mov p0, #11111011b
                        mov p1, #00000000b
                        mov p2, #00000000b
                        call delay
                        mov p0, #11110111b
                        mov p1, #00000000b
                        mov p2, #00000000b
                        call delay
                        mov p0, #11111011b
                        mov p1, #00000000b
                        mov p2, #00000000b
                        call delay
                        mov p0, #11111101b
                        mov p1, #00000000b
                        mov p2, #00000000b
                        call delay
                        ret
                        C:
                        mov p0, #00000000b
                        mov p1, #11110000b
                        call delay
                        mov p0, #00000000b
                        mov p1, #00001111b
                        call delay
                        mov p0, #00000000b
                        mov p2, #11110000b
                        call delay
                        mov p0, #00000000b
                        mov p2, #00001111b
                        call delay
                        mov p0, #00000000b
                        mov p2, #11110000b
                        call delay
                        mov p0, #00000000b
                        mov p1, #00001111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #11110000b
                        call delay
                        ret
                        D:
                        mov p0, #00000000b
                        mov p1, #11111111b
                        mov p2, #11111111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #11111110b
                        mov p2, #11111111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #11111100b
                        mov p2, #11111111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #11111000b
                        mov p2, #11111111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #11110000b
                        mov p2, #11111111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #01110000b
                        mov p2, #11111111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #01110000b
                        mov p2, #11110111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #01110000b
                        mov p2, #01110111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #01110000b
                        mov p2, #00110111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #01110000b
                        mov p2, #00010111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #01110000b
                        mov p2, #00000111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #01110000b
                        mov p2, #00000110b
                        call delay
                        mov p0, #00000000b
                        mov p1, #01100000b
                        mov p2, #00000110b
                        call delay
                        mov p0, #00000000b
                        mov p1, #01000000b
                        mov p2, #00000110b
                        call delay
                        mov p0, #00000000b
                        mov p1, #00000000b
                        mov p2, #00000110b
                        call delay
                        mov p0, #00000000b
                        mov p1, #00000000b
                        mov p2, #00000010b
                        call delay
                        mov p0, #00000000b
                        mov p1, #00000000b
                        mov p2, #00000000b
                        call delay
                        mov p0, #00000000b
                        mov p1, #00100000b
                        mov p2, #00000000b
                        call delay
                        mov p0, #00000000b
                        mov p1, #01100000b
                        mov p2, #00000100b
                        call delay
                        mov p0, #00000000b
                        mov p1, #01100000b
                        mov p2, #00000110b
                        call delay
                        mov p0, #00000000b
                        mov p1, #01100000b
                        mov p2, #00000111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #01110000b
                        mov p2, #00000111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #01110001b
                        mov p2, #00000111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #01110011b
                        mov p2, #00000111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #01110111b
                        mov p2, #00000111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #01111111b
                        mov p2, #00000111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #11111111b
                        mov p2, #00000111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #11111111b
                        mov p2, #00001111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #11111111b
                        mov p2, #10001111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #11111111b
                        mov p2, #11001111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #11111111b
                        mov p2, #11101111b
                        call delay
                        mov p0, #00000000b
                        mov p1, #11111111b
                        mov p2, #11111111b
                        call delay
                        ret
                        delay:
                        mov r1,#2
                        lap2:
                        mov r2,#200
                        lap1:
                        mov r3,#250
                        djnz r3,$
                        djnz r2,lap1
                        djnz r1,lap2
                        ret
                        end

                        Comment


                        • Viết theo 1 cách khác ntn:
                          ORG 0000H
                          start:
                          call A
                          call A
                          call A
                          call B
                          call B
                          call B
                          call C
                          call C
                          call C
                          call D
                          Ljmp start
                          A:
                          mov p0, #11111110b
                          mov p1, #10011111b
                          mov p2, #11111001b
                          Lcall delay
                          mov p0, #11111101b
                          mov p1, #10011111b
                          mov p2, #11111001b
                          Lcall delay
                          mov p0, #11111011b
                          mov p1, #10011111b
                          mov p2, #11111001b
                          Lcall delay
                          mov p0, #11110111b
                          mov p1, #10011111b
                          mov p2, #11111001b
                          Lcall delay
                          mov p0, #11110111b
                          mov p1, #11110110b
                          mov p2, #01101111b
                          Lcall delay
                          mov p0, #11111011b
                          mov p1, #11110110b
                          mov p2, #01101111b
                          Lcall delay
                          mov p0, #11111101b
                          mov p1, #11110110b
                          mov p2, #01101111b
                          Lcall delay
                          mov p0, #11111110b
                          mov p1, #11110110b
                          mov p2, #01101111b
                          Lcall delay
                          ret
                          B:
                          mov p0, #11111110b
                          mov p1, #00000000b
                          mov p2, #00000000b
                          Lcall delay
                          mov p0, #11111101b
                          mov p1, #00000000b
                          mov p2, #00000000b
                          Lcall delay
                          mov p0, #11111011b
                          mov p1, #00000000b
                          mov p2, #00000000b
                          Lcall delay
                          mov p0, #11110111b
                          mov p1, #00000000b
                          mov p2, #00000000b
                          Lcall delay
                          mov p0, #11111011b
                          mov p1, #00000000b
                          mov p2, #00000000b
                          Lcall delay
                          mov p0, #11111101b
                          mov p1, #00000000b
                          mov p2, #00000000b
                          Lcall delay
                          ret
                          C:
                          mov p0, #00000000b
                          mov p1, #11110000b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #00001111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p2, #11110000b
                          Lcall delay
                          mov p0, #00000000b
                          mov p2, #00001111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p2, #11110000b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #00001111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #11110000b
                          Lcall delay
                          ret
                          D:
                          mov p0, #00000000b
                          mov p1, #11111111b
                          mov p2, #11111111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #11111110b
                          mov p2, #11111111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #11111100b
                          mov p2, #11111111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #11111000b
                          mov p2, #11111111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #11110000b
                          mov p2, #11111111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #01110000b
                          mov p2, #11111111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #01110000b
                          mov p2, #11110111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #01110000b
                          mov p2, #01110111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #01110000b
                          mov p2, #00110111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #01110000b
                          mov p2, #00010111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #01110000b
                          mov p2, #00000111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #01110000b
                          mov p2, #00000110b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #01100000b
                          mov p2, #00000110b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #01000000b
                          mov p2, #00000110b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #00000000b
                          mov p2, #00000110b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #00000000b
                          mov p2, #00000010b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #00000000b
                          mov p2, #00000000b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #00100000b
                          mov p2, #00000000b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #01100000b
                          mov p2, #00000100b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #01100000b
                          mov p2, #00000110b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #01100000b
                          mov p2, #00000111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #01110000b
                          mov p2, #00000111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #01110001b
                          mov p2, #00000111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #01110011b
                          mov p2, #00000111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #01110111b
                          mov p2, #00000111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #01111111b
                          mov p2, #00000111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #11111111b
                          mov p2, #00000111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #11111111b
                          mov p2, #00001111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #11111111b
                          mov p2, #10001111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #11111111b
                          mov p2, #11001111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #11111111b
                          mov p2, #11101111b
                          Lcall delay
                          mov p0, #00000000b
                          mov p1, #11111111b
                          mov p2, #11111111b
                          Lcall delay
                          ret
                          delay:
                          mov r1,#2
                          lap2:
                          mov r2,#200
                          lap1:
                          mov r3,#250
                          djnz r3,$
                          djnz r2,lap1
                          djnz r1,lap2
                          ret
                          end

                          Comment


                          • reply

                            Nguyên văn bởi Tuananh_95 Xem bài viết
                            Viết theo 1 cách khác ntn:
                            ORG 0000H
                            start:
                            call A
                            call A
                            call A
                            call B
                            call B
                            call B
                            call C
                            call C
                            call C
                            call D
                            Ljmp start
                            A:
                            mov p0, #11111110b
                            mov p1, #10011111b
                            mov p2, #11111001b
                            Lcall delay
                            mov p0, #11111101b
                            mov p1, #10011111b
                            mov p2, #11111001b
                            Lcall delay
                            mov p0, #11111011b
                            mov p1, #10011111b
                            mov p2, #11111001b
                            Lcall delay
                            mov p0, #11110111b
                            mov p1, #10011111b
                            mov p2, #11111001b
                            Lcall delay
                            mov p0, #11110111b
                            mov p1, #11110110b
                            mov p2, #01101111b
                            Lcall delay
                            mov p0, #11111011b
                            mov p1, #11110110b
                            mov p2, #01101111b
                            Lcall delay
                            mov p0, #11111101b
                            mov p1, #11110110b
                            mov p2, #01101111b
                            Lcall delay
                            mov p0, #11111110b
                            mov p1, #11110110b
                            mov p2, #01101111b
                            Lcall delay
                            ret
                            B:
                            mov p0, #11111110b
                            mov p1, #00000000b
                            mov p2, #00000000b
                            Lcall delay
                            mov p0, #11111101b
                            mov p1, #00000000b
                            mov p2, #00000000b
                            Lcall delay
                            mov p0, #11111011b
                            mov p1, #00000000b
                            mov p2, #00000000b
                            Lcall delay
                            mov p0, #11110111b
                            mov p1, #00000000b
                            mov p2, #00000000b
                            Lcall delay
                            mov p0, #11111011b
                            mov p1, #00000000b
                            mov p2, #00000000b
                            Lcall delay
                            mov p0, #11111101b
                            mov p1, #00000000b
                            mov p2, #00000000b
                            Lcall delay
                            ret
                            C:
                            mov p0, #00000000b
                            mov p1, #11110000b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #00001111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p2, #11110000b
                            Lcall delay
                            mov p0, #00000000b
                            mov p2, #00001111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p2, #11110000b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #00001111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #11110000b
                            Lcall delay
                            ret
                            D:
                            mov p0, #00000000b
                            mov p1, #11111111b
                            mov p2, #11111111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #11111110b
                            mov p2, #11111111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #11111100b
                            mov p2, #11111111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #11111000b
                            mov p2, #11111111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #11110000b
                            mov p2, #11111111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #01110000b
                            mov p2, #11111111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #01110000b
                            mov p2, #11110111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #01110000b
                            mov p2, #01110111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #01110000b
                            mov p2, #00110111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #01110000b
                            mov p2, #00010111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #01110000b
                            mov p2, #00000111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #01110000b
                            mov p2, #00000110b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #01100000b
                            mov p2, #00000110b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #01000000b
                            mov p2, #00000110b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #00000000b
                            mov p2, #00000110b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #00000000b
                            mov p2, #00000010b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #00000000b
                            mov p2, #00000000b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #00100000b
                            mov p2, #00000000b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #01100000b
                            mov p2, #00000100b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #01100000b
                            mov p2, #00000110b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #01100000b
                            mov p2, #00000111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #01110000b
                            mov p2, #00000111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #01110001b
                            mov p2, #00000111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #01110011b
                            mov p2, #00000111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #01110111b
                            mov p2, #00000111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #01111111b
                            mov p2, #00000111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #11111111b
                            mov p2, #00000111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #11111111b
                            mov p2, #00001111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #11111111b
                            mov p2, #10001111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #11111111b
                            mov p2, #11001111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #11111111b
                            mov p2, #11101111b
                            Lcall delay
                            mov p0, #00000000b
                            mov p1, #11111111b
                            mov p2, #11111111b
                            Lcall delay
                            ret
                            delay:
                            mov r1,#2
                            lap2:
                            mov r2,#200
                            lap1:
                            mov r3,#250
                            djnz r3,$
                            djnz r2,lap1
                            djnz r1,lap2
                            ret
                            end
                            Mình dùng MSC IDE51 dịch thì thấy nhiều lỗi quá. cụ thể là từ dòng 1 đến dòng 11, dòng 14, dòng 18 và dòng 74.
                            bạn kiểm tra lại code đi hè.!

                            Comment


                            • cho em voi khachuy7676@gmail.com
                              da ta a nhieu..........

                              Comment


                              • chào mọi người .e nghe nói nhiều về led hiệu ứng sao băng nhưng e chưa biết cách làm được hiệu ứng này.hiện tại thì nháy led đơn giản thì e lập trình bằng c được còn hiệu ứng sao băng này e chưa nghỉ ra cách lập trình nếu dùng pwm thì e chỉ dùng được cho 1 lần 1 port hoặc 1 bit tăng giảm thôi,còn thay đổi liên tục cả port như hiệu ứng sao băng thi pó tay.e nge nói co phần mềm ledmin cũng làm đươc rất hay nhưng ở đây là mình múôn học lập trình chứ không phải sử dụng phần mềm.nếu mọi người có thuật toán hay kinh nghiệm lập trình xin chỉ dạy e với.mong các a/c có kinh nghiệm chỉ giáo.

                                Comment

                                Về tác giả

                                Collapse

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

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

                                Collapse

                                Đang tải...
                                X