From e27cb993d19e682f8ce8de7c821e1858c68f7582 Mon Sep 17 00:00:00 2001 From: Jane Petrovna Date: Wed, 26 May 2021 12:32:31 -0400 Subject: [PATCH] sdasd# Please enter the commit message for your changes. Lines starting --- lights.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lights.js b/lights.js index bc69fcb..a282f96 100644 --- a/lights.js +++ b/lights.js @@ -89,7 +89,7 @@ function fade(index) { var interval_r = sign_r * Math.ceil(Math.abs(diff_r) / fade_ticks); var interval_g = sign_g * Math.ceil(Math.abs(diff_g) / fade_ticks); var interval_b = sign_b * Math.ceil(Math.abs(diff_b) / fade_ticks); - console.log(`${Math.abs(diff_r) / fade_ticks} ${Math.ceil(Math.abs(diff_r) / fade_ticks)}` + + console.log(`t ${Math.abs(diff_r) / fade_ticks} ${Math.ceil(Math.abs(diff_r) / fade_ticks)}` + `${Math.abs(diff_g) / fade_ticks} ${Math.ceil(Math.abs(diff_g) / fade_ticks)}` + `${Math.abs(diff_b) / fade_ticks} ${Math.ceil(Math.abs(diff_b) / fade_ticks)}`);