Getting Started Guide

SCRATCH CODING KIT
Coding the DJ Box
Coding the DJ Box
If you want to play a particular beat between the B and C values with your DJ box, you have to write down the
condition.
This means that the infrared sensor value must be greater than B and less than C. Look at the code below.
The condition shows that the IR value must be greater than B and less than C to be true unconditionally. If not, I
will not play drum beat.
B C