From 2fcf6f7b73e30bd344ecb8db297f90a5b55ff5db Mon Sep 17 00:00:00 2001 From: Philipp Kramer Date: Thu, 12 Jan 2023 12:25:14 +0100 Subject: [PATCH] add info message --- positionCapture/positionCapture.pde | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/positionCapture/positionCapture.pde b/positionCapture/positionCapture.pde index 1648450..8b0824d 100644 --- a/positionCapture/positionCapture.pde +++ b/positionCapture/positionCapture.pde @@ -38,6 +38,12 @@ void setup() { void draw() { clear(); + + textSize(30); + textAlign(LEFT); + text("Press R to start recording.\nPress S to stop recording.",20,height-70); + + int valRange=1024; //maximum value for bargraph scale String[] list=readSerial(); @@ -70,9 +76,6 @@ void draw() { fileoutput.flush(); } - - - } }