From ae685eba2c22263f81e8540951ce896f99f7ac8f Mon Sep 17 00:00:00 2001 From: Galen Nickel Date: Tue, 10 Sep 2019 13:34:24 -0700 Subject: [PATCH] Set LED plot row/column ranges for 'Reaction Time' (#2420) --- docs/projects/reaction-time/code.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/projects/reaction-time/code.md b/docs/projects/reaction-time/code.md index 4a572805..0158aded 100644 --- a/docs/projects/reaction-time/code.md +++ b/docs/projects/reaction-time/code.md @@ -221,7 +221,7 @@ input.onPinPressed(TouchPin.P0, () => { running = true led.stopAnimation() basic.clearScreen() - led.plot(Math.randomRange(0, 5), Math.randomRange(0, 5)) + led.plot(Math.randomRange(0, 4), Math.randomRange(0, 4)) } }) running = false @@ -254,7 +254,7 @@ input.onPinPressed(TouchPin.P0, () => { running = true led.stopAnimation() basic.clearScreen() - led.plot(Math.randomRange(0, 5), Math.randomRange(0, 5)) + led.plot(Math.randomRange(0, 4), Math.randomRange(0, 4)) } }) input.onPinPressed(TouchPin.P1, () => {