Skip to content

Commit

Permalink
now examples are accurate for glidepoint_lite.py
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Mar 25, 2020
1 parent 9a2cd76 commit ad5a72a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion examples/cirque_pinnacle_spi_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
dr_pin.switch_to_input()

tpad = PinnacleTouchSPI(spi, ss_pin) # NOTE we did not pass the dr_pin
tpad.set_adc_gain(1) # for curved overlay type
tpad.data_mode = ABSOLUTE # ensure Absolute mode is enabled
tpad.absolute_mode_config(z_idle_count=1) # limit idle packet count to 1

Expand Down
1 change: 0 additions & 1 deletion examples/cirque_pinnacle_usb_mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

tpad = PinnacleTouchSPI(spi, ss_pin, dr_pin=dr_pin)
# NOTE we passed the dr_pin for slightly faster data reporting
tpad.set_adc_gain(1) # for curved overlay type
tpad.data_mode = RELATIVE # ensure mouse mode is enabled

def move(timeout=10):
Expand Down

0 comments on commit ad5a72a

Please sign in to comment.