Skip to content

Parallax P8X32A/Propeller 1, P2X8C4M64P/Propeller 2 driver object for the Grove mini-trackball

License

Notifications You must be signed in to change notification settings

avsa242/grove-mini-trackball-spin

Repository files navigation

grove-trackball-spin


This is a P8X32A/Propeller, P2X8C4M64P/Propeller 2 driver object for the Grove mini-trackball.

IMPORTANT: This software is meant to be used with the spin-standard-library (P8X32A) or p2-spin-standard-library (P2X8C4M64P). Please install the applicable library first before attempting to use this code, otherwise you will be missing several files required to build the project.

Salient Features

  • I2C connection at up to 400kHz (unenforced)
  • Relative/delta and absolute position reporting
  • Manually set absolute position
  • Set absolute position constraints
  • Set pointer sensitivity (delta step)

Requirements

P1/SPIN1:

  • spin-standard-library
  • input.pointer.common.spinh (provided by the spin-standard-library)

P2/SPIN2:

  • p2-spin-standard-library
  • input.pointer.common.spin2h (provided by the p2-spin-standard-library)

Compiler Compatibility

Processor Language Compiler Backend Status
P1 SPIN1 FlexSpin (6.8.0) Bytecode OK
P1 SPIN1 FlexSpin (6.8.0) Native/PASM OK
P2 SPIN2 FlexSpin (6.8.0) NuCode OK
P2 SPIN2 FlexSpin (6.8.0) Native/PASM2 OK

(other versions or toolchains not listed are not supported, and may or may not work)

Hardware compatibility

  • Tested with Seeed studio SKU# 101020091, hardware ver 1.0

Limitations

  • Very early in development - may malfunction, or outright fail to build
  • No 'CONFIRM' reg (click) support (planned)
  • No LED configuration support (planned)

About

Parallax P8X32A/Propeller 1, P2X8C4M64P/Propeller 2 driver object for the Grove mini-trackball

Topics

Resources

License

Stars

Watchers

Forks