gb_test2

view gensine @ 4:216bdbc75cf4

optionally use the generated chessboard instead of the logo to fit in my 2k test ROM
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 10 Jan 2019 06:38:13 +0200
parents
children
line source
1 #!/usr/bin/python
3 import math
5 def main():
6 s = 16
7 x = 0.0
8 dx = 2.0 * math.pi / 256.0
9 for i in range(256):
10 sx = math.sin(x) * s# + s
11 print "\tdb ", int(sx)
12 x += dx
14 main()