1
0
Fork 0

adding printing for debugging

master
Giles Booth 2022-08-22 18:30:19 +01:00 committed by GitHub
parent fddcf5f45b
commit 00702735bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ function draw() {
} }
else { else {
var textTime = hours + minutes; // use this for making time comparisons var textTime = hours + minutes; // use this for making time comparisons
print(textTime); // print(textTime);
var textNextTide = numToString(tide1h)+numToString(tide1m); var textNextTide = numToString(tide1h)+numToString(tide1m);
print(textNextTide); print(textNextTide);
if (Number(textTime) > Number(textNextTide)) { if (Number(textTime) > Number(textNextTide)) {
@ -207,7 +207,7 @@ function draw() {
g.drawImage(seaImg, xyCenter-16, xyCenter+17); g.drawImage(seaImg, xyCenter-16, xyCenter+17);
} }
print(textTime,tide1h,tide1m,tide1type,tide2h,tide2m,tide2type)
queueDraw(); queueDraw();
} }