summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@no.no.james.local>2015-09-16 16:17:07 +0100
committerroot <root@no.no.james.local>2015-09-16 16:17:07 +0100
commit1f046cf4979cb82675bf95a1a4a2e05fac88cce3 (patch)
tree401a8b2687415cf6a0741abe39d0073b09080380
parentd40255fc533ab2b0f9f1e618d95726be72282b28 (diff)
downloadpython-master.tar.gz
python-master.tar.bz2
python-master.zip
-rw-r--r--.gitignore2
-rwxr-xr-xtest.py13
2 files changed, 15 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ca878f1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+build/
+rns510.c
diff --git a/test.py b/test.py
new file mode 100755
index 0000000..29357ae
--- /dev/null
+++ b/test.py
@@ -0,0 +1,13 @@
+#!/usr/bin/env python
+
+import rns510
+
+
+a=rns510.encode("52.2","0.16")
+
+print a
+
+b,c=rns510.decode(a)
+
+print b,",",c
+