From b5662a6e820845dad42147e0be18718a10f47581 Mon Sep 17 00:00:00 2001 From: uvok Date: Sat, 19 Jul 2025 10:23:53 +0200 Subject: gpio: Change queue type, use digitalPinToInterrupt macro, logging --- include/badge/log.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 include/badge/log.h (limited to 'include/badge/log.h') diff --git a/include/badge/log.h b/include/badge/log.h new file mode 100644 index 0000000..cbbe134 --- /dev/null +++ b/include/badge/log.h @@ -0,0 +1,13 @@ +#pragma once + +#include + +namespace de::uvok::badge +{ +#define LOG_F(...) \ + { \ + Serial.printf("[%u] ", millis()); \ + Serial.printf(__VA_ARGS__); \ + } + +} // namespace de::uvok::badge -- cgit v1.2.3