From a08a1062469b2b9a587b90121d05270357929533 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Fri, 4 Jan 2019 08:34:41 +0100 Subject: [PATCH] moved to processings date functions --- UI.pde | 6 ++++-- Weather.pde | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 Weather.pde diff --git a/UI.pde b/UI.pde index 8770ed9..babb36b 100644 --- a/UI.pde +++ b/UI.pde @@ -3,7 +3,9 @@ void UI() { textSize(30); textAlign(LEFT); - - text(ft.format(date).toString(), 10, 30); + text(String.format("%02d",hour()) + ":" + String.format("%02d",minute()) + ":" + String.format("%02d",second()), 10, 30); + + text("FPS: " + int(frameRate), 10, 60); + } diff --git a/Weather.pde b/Weather.pde new file mode 100644 index 0000000..07e03f7 --- /dev/null +++ b/Weather.pde @@ -0,0 +1 @@ +boolean b_isRaining;