Lydia - Printhead
utils.h
Go to the documentation of this file.
1 #ifndef UTILS_H
2 #define UTILS_H
3 
4 #include <Arduino.h>
5 #include <stdint.h>
6 
7 void printHex(uint8_t *data, uint8_t length);
8 /*
9 template <typename T> T normalizeValue(T value, T maximum) {
10  if (value < 0 || value > maximum) {
11  return 0; // Or any other appropriate value
12  }
13  return value / maximum;
14 }
15 */
16 
17 #endif
printHex
void printHex(uint8_t *data, uint8_t length)
Definition: utils.cpp:3