Skip to content

Commit 808dd8d

Browse files
committed
Update comments in touch screen init example
1 parent 9edd995 commit 808dd8d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/cv2_hardware_init/touch_screen.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Import the machine module to access hardware features
2-
from .bus_i2c import i2c
1+
# Initializes a touch screen object. Multiple options are provided below, so you
2+
# can choose one that best fits your needs. You may need to adjust the arguments
3+
# based on your specific touch screen and board configuration
34

45
# Import the OpenCV touch screen drivers
56
from cv2_drivers.touch_screens import *
67

7-
# Create a touch screen object. Multiple options are provided below, so you can choose
8-
# one that best fits your needs. You may need to adjust the arguments based on
9-
# your specific touch screen and board configuration
8+
# Import the I2C bus
9+
from .bus_i2c import i2c
1010

1111
################################################################################
1212
# CST816

0 commit comments

Comments
 (0)