Start
This commit is contained in:
Thomas
2022-01-24 19:59:50 +01:00
parent 6a0fd3c076
commit b9a3a5d2b6
15 changed files with 6681 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
#ifdef __arm__ /* Arduino DUE */
#define PSTR(str) (str)
#define strcpy_P(dest, src) strcpy((dest), (src))
#define strncpy_P(dest, src, n) strncpy((dest), (src), (n))
#define strcmp_P(a, b) strcmp((a), (b))
#define strncmp_P(a, b, n) strncmp((a), (b), (n))
#define pgm_read_byte_near(a) *(a)
// #define strlen_P(a) strlen((a))
#else
#endif