Browse code

Here we are! MetaWatch support in Oswald!

Nils Faerber authored on 27/04/2013 20:22:32
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,9 @@
1
+import sys
2
+import math
3
+
4
+sys.stdout.write ("int16_t sintab[]={ ")
5
+
6
+for i in range (0, 360):
7
+	sys.stdout.write ("%4.0f," % (math.sin(((2*3.14159265358979323846)/360)*i)*100))
8
+
9
+sys.stdout.write ("};\n")