From 4b1d74d87cac36e320aa2d4ec99b114e07aebe21 Mon Sep 17 00:00:00 2001 From: grimhilt Date: Sat, 25 Nov 2023 21:52:06 +0100 Subject: [PATCH] update readme --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c171968..61a967c 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,14 @@ This is a very very basic parser, and so it will not work with a certain number * if you don't use the variable for the pin numbers * if you write 'digitalWrite()' on several lines * if you move the loop() opening bracket on the next line -* if the main loop() call others functions * if you use arduino or c++ specific functions * ... + +# Debug Level + +There is a variable "DEBUG_LEVEL" in the ``src/pin_handler.h``, it allows you to give more or less output to the student. + +With a value of 1, it will print each code the student try. + +With a value of 2, it will do 1 and each time a digitalWrite is executed, it will print the wire change (1-4: row, 5-8: col) and the state to change. +