Changes

Jump to navigation Jump to search
Line 517: Line 517:  
The following code is now a built in sample, <i>sinewave.py</i>. If typing it in, the indents are important. Click on the Python block to load the code.
 
The following code is now a built in sample, <i>sinewave.py</i>. If typing it in, the indents are important. Click on the Python block to load the code.
   −
[[File:2tone python.jpg]]
+
def myblock(lc, x):
 +
    import os
 +
    os.system('speaker-test -t sine -l 1 -f %d' % (int(x)))
 +
 
    
[[File:Fsk send.jpg]]
 
[[File:Fsk send.jpg]]
2,486

edits

Navigation menu