Hello,
I am triying to use the Pixy2 cam to do a rover that recognises the color from some objects and then go to different places depending of the color. The project has also a HC-SR04 sonar to detect a object during the movements.
Mi code worked perfectly without the camera and when I put the camera to select where to go the sonars measure is always 0.
I have tryied a lot of different things and I don´t know what happens. Could be some type of incompatibility?
I connect the camera to the arduino MEGAs ICSP pins. The sonar ir connected to the digital pins 50 and 48 pins.
Thanks.