Update I2C_Touchpad.ino

This commit is contained in:
Frank Adams 2021-10-22 11:54:10 -07:00 committed by GitHub
parent 279f1b8161
commit 510ab5bd6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@
*/
// This software implements an I2C Touchpad Controller using a Teensy 3.2
// It assumes the TP is at I2C address 0x24
// Register 0 is the pointer register used to access all other registers
// Register 0 function unknown - not used
// Register 1 is the button register. 0x00=no buttons, 0x03=left button, 0x04=right button
// Register 2 function unknown - not used
// Register 3 is the X delta movement 8 bit 2's complement value. Left to right gives positive values