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