Hi ,
I am trying to use Trill Craft with custom 11x12 touch matrix similar to Trill square.
What mode should I use and how should wire the rows and columns to the trill craft?
Thanks in Advance
Hi ,
I am trying to use Trill Craft with custom 11x12 touch matrix similar to Trill square.
What mode should I use and how should wire the rows and columns to the trill craft?
Thanks in Advance
Trill Craft should be set to differential mode ensuring that the prescaler is large enough that you get a meaningful variation when touching the pads (i.e.: larger contact pads may require you to increase the prescaler value beyond the default). You can wire arbitrary capacitive pads to arbitrary channels on Trill Craft, as long as those are specified in the correct order when using the library on the host. For this you can use the CentroidDetection
class class of the Trill library.
An example of using that is here for Linux and here for Arduino.
The hardest part to make a square is getting the pad pattern and interweaving right.
So, In the Arduino code I create two sliders
uint8_t slider0Pads[slider0NumPads] = {11,10,9,8,7,6,5,4,3,2,1, 0};
uint8_t slider1Pads[slider1NumPads] = {18,19,20,21,22,23,24,25,26,27, 28,29};
That's it?
Sorry if I am being dumb.
That sounds right.