printrun-src/testtools/lengthy.py

Tue, 19 Jan 2021 20:45:09 +0100

author
mdd
date
Tue, 19 Jan 2021 20:45:09 +0100
changeset 45
c82943fb205f
permissions
-rwxr-xr-x

updated main files to new github master version

#!/usr/bin/python3
#generate many g1 to test serial buffer overflow in run_gcode_script
#run like this:
#in pronsole> run_gcode_script ./testtools/lengthy.py
print('G28 X')
print('G1 X0')
for x in range(100):
    print()
    print('  ')
    print('G1 X', x)

mercurial