summaryrefslogtreecommitdiff
path: root/src/helpers.h
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2022-01-05 02:18:16 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2022-01-05 02:18:16 +0100
commitd9b9b3e71397a2da9e16cbee75c4954105237363 (patch)
tree79d4be62e5357868b5af75301017553d3e8b692c /src/helpers.h
parent01227e76785845dae377a8808146ff51209f727a (diff)
downloadanalog_instruments-d9b9b3e71397a2da9e16cbee75c4954105237363.tar.gz
p command working to change PWM
refactgored pwm code
Diffstat (limited to 'src/helpers.h')
-rw-r--r--src/helpers.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/helpers.h b/src/helpers.h
new file mode 100644
index 0000000..6395abc
--- /dev/null
+++ b/src/helpers.h
@@ -0,0 +1,16 @@
+/*
+ * src/helpers.h
+ * (c) 2022 Jonas Gunz <himself@jonasgunz.de>
+ * License: All rights reserved.
+ */
+
+#ifndef _HELPERS_H_
+#define _HELPERS_H_
+
+#include <stdint.h>
+
+uint8_t hex_to_byte(char c[]);
+
+uint8_t hex_to_halfbyte(char c);
+
+#endif /* _HELPERS_H_ */