summaryrefslogtreecommitdiff
path: root/peripheral/libupm/src/ds18b20/pyupm_ds18b20.i
diff options
context:
space:
mode:
Diffstat (limited to 'peripheral/libupm/src/ds18b20/pyupm_ds18b20.i')
-rw-r--r--peripheral/libupm/src/ds18b20/pyupm_ds18b20.i12
1 files changed, 12 insertions, 0 deletions
diff --git a/peripheral/libupm/src/ds18b20/pyupm_ds18b20.i b/peripheral/libupm/src/ds18b20/pyupm_ds18b20.i
new file mode 100644
index 0000000..3a4ac70
--- /dev/null
+++ b/peripheral/libupm/src/ds18b20/pyupm_ds18b20.i
@@ -0,0 +1,12 @@
+%module pyupm_ds18b20
+%include "../upm.i"
+%include "carrays.i"
+%include "std_string.i"
+
+%feature("autodoc", "3");
+
+%{
+ #include "ds18b20.hpp"
+%}
+%include "ds18b20.hpp"
+%array_class(char, charArray);