I recently bought a Teensy LC to use with Trill Square, handling USB MIDI data. The Teensy section of the getting started documentation is useful - however, when I plug Trill Square into the 3.3V, GND and SDA/SCL pins (18/19), I get this error message:
failed to initialise trillSensor
Error code: 2
The Trill.cpp script looks like it returns error code 2 when it fails to identify the connected device, although I'm not sure. Is this an issue with my hardware connection? Is it something to do with the I2C bus setup?