23 lines
550 B
C++
23 lines
550 B
C++
#pragma once
|
|
|
|
#define DEBUGLOG_DEFAULT_LOG_LEVEL_INFO
|
|
|
|
#include <Arduino.h>
|
|
#include <DebugLog.h>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
///////////// UTIL Functions /////////////////
|
|
|
|
void printBytes(const char title[], const std::vector<uint8_t> &b);
|
|
|
|
void printBytes(const char title[], const std::vector<uint16_t> &b);
|
|
|
|
void printBool(const char title[], const std::vector<bool> &vals);
|
|
|
|
const std::string printBoolVec(const std::vector<bool> &vals);
|
|
|
|
const std::string printHex(const uint8_t val);
|
|
|
|
const std::string printHex(const uint16_t val);
|