From 2a562ad5316b624431627370a967a70a19fa6bff Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Wed, 22 Jun 2022 13:32:30 +0200 Subject: [PATCH] Adding note explaining that there is no printf/float support on AVR. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8f08544..bd8dcd6 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ int i = 1; float pi = 3.1459; Debug.print(DBG_VERBOSE, "i = %d, pi = %f", i, pi); ``` +**Note**: The output of floating point numbers (`%f`) does NOT work on [ArduinoCore-avr](https://github.com/arduino/ArduinoCore-avr). If desired, timestamps can be prefixed to the debug message. Timestamp output can be enabled and disabled via `timestampOn` and `timestampOff`.