diff options
author | uvok | 2025-07-19 10:23:53 +0200 |
---|---|---|
committer | uvok | 2025-07-19 10:23:53 +0200 |
commit | b5662a6e820845dad42147e0be18718a10f47581 (patch) | |
tree | cc42e56a8457e264e5e0e0ca67e3c885b96e6f3b /include/badge/log.h | |
parent | 7f4bd7d961679d4fe5b0bc6e6255968e65352111 (diff) |
gpio: Change queue type, use digitalPinToInterrupt macro, logging
Diffstat (limited to 'include/badge/log.h')
-rw-r--r-- | include/badge/log.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 <Arduino.h> + +namespace de::uvok::badge +{ +#define LOG_F(...) \ + { \ + Serial.printf("[%u] ", millis()); \ + Serial.printf(__VA_ARGS__); \ + } + +} // namespace de::uvok::badge |