User’s Guide
5-6. Melody Playing Function
AX-S1 can make a sound as there is a buzzer inside. Let’s make a robot that can
make sound or that exhibit expressions using the melody playing function.
Special Melody Play
Special melody is already built inside and there are 27 melody sounds that can be
played by AX-S1.To play the special melody sound, the “buzzer sound” value
must be set to 255 first.
Next, input the value between 0 and 26 to produce the sound.
If you play other sound before
the previous sound completes,
the previous sound will just
finish. To solve this problem, you
have to wait until the melody
sound completes. For this, check
whether “buzzer sound” is set
to 0.
No
“Buzzer sound” = 0 ?
Yes
65