1. Trang chủ
  2. » Công Nghệ Thông Tin

Chơi bài suteki da ne trên ATEMEGA8

51 371 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 51
Dung lượng 115,12 KB

Nội dung

Chơi nhạc đơn nốt trên Atmega8, bằng cách canh chỉnh xung nhịp lên xuống trong thời gian chính xác để có thể tạo được bản nhạc có độ dài hơn 4 phút. Chạy trên chip Atmega8 cài đặt với 1Mhz không dùng thạch anh. Với chi phí không quá nhiều so với việc mua một chip nhạc mà bài hát bị giới hạn, thì với cách này giúp cho mọi thứ trở nên thú vị hơn. Chương trình được viết bằng Assembly, số lượng code khá lớn khoảng 4k7 dòng lệnh

Chơi bài Suteki da ne trên ATEMEGA8        ! "#  ! $ # % &'(()*+ ,'-)*+ .', .('& ,' !%,/ ! .#', *  %, ,'0 &' $ '1 '12 *34567 ,' &' 2 $ '1 '12 *67 %8, ,'2 &'9$ $ '91 ',0 *34567 ,' &'2 $ '91 ',0 *67 %$9 ,'2 &'90 $ '1 '12 *34567 ,' &'2 $ '1 '12 *67 %9 ,' &'$ $ '$22 ' , *34567 ,' &'$0 $ '$22 ' , *67 %9 ,' &'$0& $ '1 '12 *34567 ,' &'$, $ '1 '12 *67 %3 ,' &', $ '00 '9 *34567 ,' &'02 $ '00 '9 *67 % ,' &'$ $ '1 '12 *34567 ,' &'2$ $ '1 '12 *67 % ,' &',, $ '$22 ' , *34567 ,' &'9, $ '$22 ' , *67 %!9 ,' &'&& $ ',2 '$, *34567 ,' &'1 $ ',2 '$, *67 %:9 ,' &'9 $ '& ', *34567 ,' &'2 $ '& ', *67 %$ ,'$ &'11 $ '1 '12 *34567 ,' &'&1 $ '1 '12 *67 %9 ,' &'$2 $ '$& '1 *34567 ,' &'$& $ '$& '1 *67 %, ,'0 &' $ '1 '12 *34567 ,' &' 2 $ '1 '12 *67 %$ ,'0 &' $ '0& '& *34567 ,' &' , $ '0& '& *67 %$ ,' &' $ '1 '12 *34567 ,' &'0 $ '1 '12 *67 %$ ,' &'21 $ '0& '& *34567 ,' &'& $ '0& '& *67 %8$ ,'9 &'90 $ '91 ',0 *34567 ,' &' $ '91 ',0 *67 %9 ,' &',& $ '11 '20 *34567 ,' &'9& $ '11 '20 *67 % ,'$ &'$9 $ ',1 '21 *34567 ,' &'0 $ ',1 '21 *67 %8 ,'$ &'11 $ '91 ',0 *34567 ,' &'&1 $ '91 ',0 *67 % ,'$ &'$2 $ '0& '& *34567 ,' &'& $ '0& '& *67 %9 ,' &'$ $ ',1 '21 *34567 ,' &'9 $ ',1 '21 *67 %9 ,' &',& $ '11 '20 *34567 ,' &'9& $ '11 '20 *67 %;;0$ ,'9 &'$9 $ '$ '9& *34567 ,' &',, $ '$ '9& *67 %< ' *** % ,' &'$ $ '1 '12 *34567 ,' &'2$ $ '1 '12 *67 %9 ,' &'$ $ ',1 '21 *34567 ,' &'9 $ ',1 '21 *67 %89 ,' &'11 $ '91 ',0 *34567 ,' &'01 $ '91 ',0 *67 %9 ,' &',$ $ '0& '& *34567 ,' &'02 $ '0& '& *67 %9 ,' &'$, $ '0 '&1 *34567 ,' &'0 $ '0 '&1 *67 %0$ ,'1 &'$9& $ '0& '& *34567 ,' &'$& $ '0& '& *67 %<0$ '0$ *** %3 ,' &', $ '00 '9 *34567 ,' &'02 $ '00 '9 *67 %!9 ,' &'&& $ ',2 '$, *34567 ,' &'1 $ ',2 '$, *67 %9 ,' &' $ '$1 ' *34567 ,' &'$ $ '$1 ' *67 %! ,' &'1 $ ',2 '$, *34567 ,' &'01 $ ',2 '$, *67 %9 ,' &' $ '$1 ' *34567 ,' &'$ $ '$1 ' *67 %9 ,' &'$ $ '$22 ' , *34567 ,' &'$0 $ '$22 ' , *67 % ,' &'$ $ '1 '12 *34567 ,' &'2$ $ '1 '12 *67 %9 ,' &'$2 $ '$& '1 *34567 ,' &'$& $ '$& '1 *67 %9 ,' &'$0& $ '1 '12 *34567 ,' &'$, $ '1 '12 *67 %, ,'0 &'&& $ '$22 ' , *34567 ,' &'10 $ '$22 ' , *67 % ,' &'$ $ '1 '12 *34567 ,' &'2$ $ '1 '12 *67 %9 ,' &'$ $ '$22 ' , *34567 ,' &'$0 $ '$22 ' , *67 %9 ,' &' $ '$1 ' *34567 ,' &'$ $ '$1 ' *67 %!, ,'$ &'1& $ ',2 '$, *34567 ,' &'& $ ',2 '$, *67 % ,' &'$ $ '$1 ' *34567 ,' &'9 $ '$1 ' *67 %!9 ,' &'&& $ ',2 '$, *34567 ,' &'1 $ ',2 '$, *67 %39 ,' &'2 $ '00 '9 *34567 ,' &'& $ '00 '9 *67 %:, ,'$ &'91 $ '& ', *34567 ,' &',$ $ '& ', *67 %3 ,' &', $ '00 '9 *34567 ,' &'02 $ '00 '9 *67 %!9 ,' &'&& $ ',2 '$, *34567 ,' &'1 $ ',2 '$, *67 %9 ,' &' $ '$1 ' *34567 ,' &'$ $ '$1 ' *67 %! ,' &'1 $ ',2 '$, *34567 ,' &'01 $ ',2 '$, *67 %9 ,' &' $ '$1 ' *34567 ,' &'$ $ '$1 ' *67 %9 ,' &'$ $ '$22 ' , *34567 ,' &'$0 $ '$22 ' , *67 % ,' &'$ $ '1 '12 *34567 ,' &'2$ $ '1 '12 *67 %9 ,' &'$2 $ '$& '1 *34567 ,' &'$& $ '$& '1 *67 %9 ,' &'$0& $ '1 '12 *34567 ,' &'$, $ '1 '12 *67 %, ,'0 &'&& $ '$22 ' , *34567 ,' &'10 $ '$22 ' , *67 % ,' &'$ $ '1 '12 *34567 ,' &'2$ $ '1 '12 *67 %9 ,' &'$ $ '$22 ' , *34567 ,' &'$0 $ '$22 ' , *67 %9 ,' &' $ '$1 ' *34567 ,' &'$ $ '$1 ' *67 %! ,' &'1 $ ',2 '$, *34567 ,' &'01 $ ',2 '$, *67 %: ,' &'$9 $ '& ', *34567 ,' &'0 $ '& ', *67 %:9 ,' &'9 $ '& ', *34567 ,' &'2 $ '& ', *67 %39 ,' &'2 $ '00 '9 *34567 ,' &'& $ '00 '9 *67 %3 ,' &', $ '00 '9 *34567 ,' &'02 $ '00 '9 *67 %<, ', *** %3 ,' &', $ '00 '9 *34567 ,' &'02 $ '00 '9 *67 %!9 ,' &'&& $ ',2 '$, *34567 ,' &'1 $ ',2 '$, *67 %9 ,' &' $ '$1 ' *34567 ,' &'$ $ '$1 ' *67 %! ,' &'1 $ ',2 '$, *34567 ,' &'01 $ ',2 '$, *67 %9 ,' &' $ '$1 ' *34567 ,' &'$ $ '$1 ' *67 %9 ,' &'$ $ '$22 ' , *34567 ,' . Chơi bài Suteki da ne trên ATEMEGA8        ! "# 

Ngày đăng: 04/09/2015, 22:39

TỪ KHÓA LIÊN QUAN

w