LoginSignup
0
0

More than 5 years have passed since last update.

俺言語 その24

Last updated at Posted at 2018-03-26

概要

俺言語をやってみた。
avrにアセンブラで実装してみた。
メロディを奏でる、後編。

環境

avr studio 4
attiny85 1mhz
tera term
usb-serial

動画

仕組み

ドレミファソラシは、cdefgabで表現。
テンポは、固定。
?=[]で、演奏。
サーボモータ駆動、RGB LED駆動とは、別プログラム。

サンプルコード

10 '=16
20 ?=[ccggaag ffeeddc ggffeed ggffeed ccggaaggffeeddc   ]
30 #=20

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0