diff options
Diffstat (limited to 'Demo/scripts/morse.py')
-rwxr-xr-x | Demo/scripts/morse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/scripts/morse.py b/Demo/scripts/morse.py index e939b2d..265fae9 100755 --- a/Demo/scripts/morse.py +++ b/Demo/scripts/morse.py @@ -61,7 +61,7 @@ def mkwave(octave): sinewave = '' for i in range(100): val = int(math.sin(math.pi * i * octave / 50.0) * 30000) - sinewave = sinewave + chr((val >> 8) & 255) + chr(val & 255) + sinewave += chr((val >> 8) & 255) + chr(val & 255) return sinewave defaultwave = mkwave(OCTAVE) |