Enjoy programming more!
Kidspod is a post site which supports young programmers.
First step to join us.
Register as a member
For members

2020/09/19 00:06:19

MixJuice GET URL : kidspod.club/mj/1008

チーム①

  • No registered tag exist.

SOURCE CODE

10 led 0
20 ?"MJ GETS europa.kanazawa-it.ac.jp/ichigojam/kamellia.html"
30 input a
40 if a=0 goto 110
50 if a=1 then pwm 5,90:wait 300:pwm 5,60:led 1:wait 300
60 if a=2 then pwm 5,120:wait 300:pwm 5,60:led1:wait 300
70 if a=3 then pwm 5,150:wait 300:pwm 5,60:led1:wait 300 
80 if a=4 then pwm 5,180:wait 300:pwm 5,60:led1:wait 300
90 if a=5 then pwm 5,210:wait 300:pwm 5,60:led1:wait 300
100 if a=6 then pwm 5,240:wait 300:pwm 5,60:led1:wait 300
110 goto 10

COMMENT