I am beginning to learn how to interface the pixiecam2 with an arduino. In the line following API there is the LINE_MODE_WHITE_LINE which will allow for the cam to detect the line following with white lines, but I don’t understand what command I nest this into to work. I tried pixy.changeProg(LINE_MODE_WHITE_LINE); but this did not seem to work. Any help is appreciated.
To answer my own question for future readers. The command for the line mode is setLine() but for the inclusion of the line api code needs to be pixy.Line.setMode()
I’m glad you figured it out