Skip to content

Commit f060e9a

Browse files
committed
Add instructions for using the tests
1 parent 71f24d9 commit f060e9a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/tests.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
"""
2+
How to use this test file:
3+
4+
Copy adafruit_debouncer's dependencies to lib/ on your circuitpython device.
5+
Copy adafruit_debouncer.py to / on the device
6+
Copy this tests.py file to /main.py on the device
7+
Connect to the serial terminal (e.g. sudo screen /dev/ttyACM0 115200)
8+
Press Ctrl-D, if needed to start the tests running
9+
"""
110
import sys
211
import time
312
import adafruit_debouncer

0 commit comments

Comments
 (0)