hmalik reply to this as the image wasn't loading
try making it smaller: there is a file size limit I think.
hmalik ran detect all devices and the result is posted below.
You didn't post the console log. When connecting multiple Trills to the same i2c bus you need to ensure that each of them has a unique address. See here for more details and here for how to change address. Also, try running the Bela examples Trill/detect-all-devices
.
hmalik And also i want to configure the 4 sensors into a single square, any ideas on how I can do that will be appreciated
A simpler approach is to have all the devices in read the x/y touch positions from all the pads and then whenever you get readings from more than one pad at a time, you can average them together.
A more complex approach would set each device to DIFF mode so that you can read the individual capacitive activation on each of the 30 capacitive pads of each device. Then you could implement your own code to detect touches, or simply run on Bela the C code that runs on the firmware when in CENTROID mode. This is the calculateCentroids()
function you can find here.