@nowis Ok so i got the chance to try it with your suggestions and i guess my connections are right and it sort of works!!!
I got to read a swipe only once … a Swipe Left and judging from the readings on the console it detects movement but i am unable to replicate any additional swipes granted they are very close to each other and not aligned.
However do these numbers seem right to you?? judging from this pic that i am attaching …what are these reading in the 3 thousand range?
Any pointer in the alignment or calibration of the sensors and when i get it to read the swipes left and right correctly does that mean the pages are going to be go left and right also meaning if i swipe from left to right the pages are going to ump one forward and if i swipe from light to left the MM pages are going to go backwards?? that’s our ultimate goal isn’t it
thanks again
Denis
ps. I cant upload a image so here is a text copy of it
Start: Right
[MMM-Swipe] Left : [{“dist”:“158”},{“dist”:“3076”},{“dist”:“5593”},{“dist”:“13”},{“dist”:“280”}]
[MMM-Swipe] Right: [{“dist”:“7”},{“dist”:“3054”},{“dist”:“8”},{“dist”:“165”},{“dist”:“237”}]
[MMM-Swipe] ----> Swipe Left
[MMM-Swipe] -------------------------
[MMM-Swipe] Start: Left
[MMM-Swipe] Left : [{“dist”:“4”},{“dist”:“2805”},{“dist”:“143”},{“dist”:“7”},{“dist”:“151”}]
[MMM-Swipe] Right: [{“dist”:“12”},{“dist”:“9”},{“dist”:“12”},{“dist”:“154”},{“dist”:“3”}]
[MMM-Swipe] -------------------------