mirror of
https://gitlab.com/fabinfra/fabhardware/fabreader.git
synced 2025-04-20 17:46:26 +02:00
13 lines
313 B
C
13 lines
313 B
C
#ifndef HELPERS_H
|
|
#define HELPERS_H
|
|
|
|
#include <Arduino.h>
|
|
void char2byte(char* str, byte* array);
|
|
void chars2bytes(char* str, byte* array, bool msb);
|
|
|
|
void byte2char(byte* array, char* str);
|
|
void bytes2chars(byte* array, byte array_len, char* str, bool msb);
|
|
|
|
void printbytes(byte* array, byte array_len);
|
|
|
|
#endif |