printrun-src/testtools/lengthy.py

Wed, 20 Jan 2021 11:37:03 +0100

author
mdd
date
Wed, 20 Jan 2021 11:37:03 +0100
changeset 48
3c27b4ee6fec
parent 45
c82943fb205f
permissions
-rwxr-xr-x

reimplemented lasercutter changes

#!/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