printrun-src/testtools/lengthy.py

changeset 45
c82943fb205f
equal deleted inserted replaced
44:310be640a303 45:c82943fb205f
1 #!/usr/bin/python3
2 #generate many g1 to test serial buffer overflow in run_gcode_script
3 #run like this:
4 #in pronsole> run_gcode_script ./testtools/lengthy.py
5 print('G28 X')
6 print('G1 X0')
7 for x in range(100):
8 print()
9 print(' ')
10 print('G1 X', x)

mercurial