From da62795b73207fd60b0213dd850d409b7c48b0a3 Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Fri, 16 May 2025 16:36:45 +0200 Subject: [PATCH] improve README --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2951a13..dbdec83 100644 --- a/README.md +++ b/README.md @@ -27,11 +27,6 @@ Code example # write here what to do when t changes return value # return the validated value - # the validity of has to be checked here, and if any conversion happens - # the converted value has to be returned - # if no change function is present, the value is converted to the type of - # the initial value (e.g. float, int or str) - # here follows your real code while True: @@ -41,6 +36,12 @@ Code example # important: do not sleep here! +In the change_ function the validity of has to be checked, and if any conversion +happens the converted value has to be returned. When no change function is present, the value +is converted to the type of the initial value (e.g. float, int or str) + + + Serial protocol ---------------