Projectupdate1 (#325)

* integrating test lesson from lego

* adding side card annotations
This commit is contained in:
Peli de Halleux
2018-02-14 08:56:12 -08:00
committed by GitHub
parent d6cbbcc3d9
commit 523c507c35
30 changed files with 404 additions and 223 deletions

View File

@ -108,7 +108,7 @@ function checkFallen() {
// stop all motors and wait for touch button to be
// pressed
function stop() {
motors.stopAllMotors()
motors.stopAll()
state = 0
moods.knockedOut.show();
sensors.touch3.pauseUntil(ButtonEvent.Pressed)

View File

@ -144,7 +144,7 @@ loops.forever(function () {
let p = 5 - (t2 - t1);
loops.pause(Math.max(1, p))
}
motors.stopAllMotors()
motors.stopAll()
st = 0;
brick.setStatusLight(StatusLight.RedPulse);
brick.showImage(images.eyesKnockedOut)