aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/drv/arduino/mod.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pbdrv/drv/arduino/mod.h')
-rw-r--r--lib/pbdrv/drv/arduino/mod.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/pbdrv/drv/arduino/mod.h b/lib/pbdrv/drv/arduino/mod.h
new file mode 100644
index 0000000..e545d9b
--- /dev/null
+++ b/lib/pbdrv/drv/arduino/mod.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include "../../pb-mod.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * \brief puzzle bus driver setup
+ *
+ * This function should be called from the Arduino \c setup() function.
+ */
+void pbdrv_setup();
+
+#ifdef __cplusplus
+}
+#endif
+