![]() |
In this program I used the module that has a motor that turns slowly.I have a pencil attached to lego parts that hold it up. In the program its set when it "runs" to wait until you press a touch sensor called "toucha". When this happens the motor turns "onfor" 70 which means 7 seconds. After it turns on, I used a "repeat" block to repeat a beep and four notes 10 times. The program keeps waiting to have the sensor pushed until you press the run button ( the little white button on the cricket) or you turn off the cricket. You can also download the actual program to open in Cricket LogoBlocks. |