Skip to content

Commit

Permalink
fixed examples
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Mar 25, 2020
1 parent 792d32f commit dc188aa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/cirque_pinnacle_anymeas_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
from struct import unpack
import board
from digitalio import DigitalInOut
from circuitpython_cirque_pinnacle import PinnacleTouchSPI, ANYMEAS
# this example does NOT work with glideoint_lite.py
from circuitpython_cirque_pinnacle.glidepoint import PinnacleTouchSPI, ANYMEAS

spi = board.SPI()
ss_pin = DigitalInOut(board.D7)
Expand Down
3 changes: 2 additions & 1 deletion examples/cirque_pinnacle_spi_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
from struct import unpack
import board
from digitalio import DigitalInOut
from circuitpython_cirque_pinnacle import PinnacleTouchSPI, ABSOLUTE
# this example also works with glideoint_lite.py
from circuitpython_cirque_pinnacle.glidepoint import PinnacleTouchSPI, ABSOLUTE

spi = board.SPI()
ss_pin = DigitalInOut(board.D7)
Expand Down
3 changes: 2 additions & 1 deletion examples/cirque_pinnacle_usb_mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
import board
from digitalio import DigitalInOut
import usb_hid
from circuitpython_cirque_pinnacle import PinnacleTouchSPI, RELATIVE
# this example also works with glideoint_lite.py
from circuitpython_cirque_pinnacle.glidepoint import PinnacleTouchSPI, RELATIVE

mouse = None
for dev in usb_hid.devices:
Expand Down

0 comments on commit dc188aa

Please sign in to comment.