Skip to content

Commit 6b55adc

Browse files
committed
Remove test code
1 parent fa5f176 commit 6b55adc

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

arduino/arduino.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -118,19 +118,6 @@ def copy_sketch(source_path = '', destination_path = '.', name = None, overwrite
118118
name = name or 'main'
119119
return create_sketch(sketch_name = name, destination_path = destination_path, overwrite = overwrite, source_path = source_path)
120120

121-
# the following methods are just for testing
122-
# will produce output when this module is run as __main__
123-
124-
def setup():
125-
print('setup test')
126-
127-
def loop():
128-
print('loop test')
129-
delay(1000)
130-
131-
def cleanup():
132-
print('cleanup test')
133-
134121
# RUNTIME
135122
def start(setup=None, loop=None, cleanup = None, preload = None):
136123
if setup is not None:
@@ -146,7 +133,3 @@ def start(setup=None, loop=None, cleanup = None, preload = None):
146133
cleanup()
147134
if not isinstance(e, KeyboardInterrupt):
148135
raise e
149-
150-
151-
if __name__ == '__main__':
152-
start(setup, loop, cleanup)

0 commit comments

Comments
 (0)