This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:v2:hooking_up_pixy_to_a_microcontroller_-28like_an_arduino-29 [2019/01/28 23:35] jfrench [Updating Pixy Library for Arduino] |
wiki:v2:hooking_up_pixy_to_a_microcontroller_-28like_an_arduino-29 [2020/09/18 00:52] jfrench [Troubleshooting] |
||
---|---|---|---|
Line 83: | Line 83: | ||
==== Troubleshooting ==== | ==== Troubleshooting ==== | ||
+ | If you get the message "error: no response" from the Arduino serial monitor, first make sure your Pixy2 is running the ccc (color connected components) program from PixyMon, and that you have taught it an object as described [[wiki:v2:teach_pixy_an_object_2|here]]. | ||
- | If you're using Arduino Due or Mega, you may get an error like this when compiling: | + | {{:wiki:v2:error_no_response.png?600|}} |
+ | |||
+ | === Using Arduino with other devices === | ||
+ | If you're having problems with parts of your program not working, and you're using motors or something else connected to the Arduino pins, make sure that your other devices aren't connected to pins 10, 11, 12, or 13. Pixy2 uses those pins for communicating with Arduino. | ||
+ | |||
+ | |||
+ | === Zumo Errors === | ||
+ | If you're using Arduino Due, you may get an error like this when compiling: | ||
''libraries\Pixy2\ZumoBuzzer.cpp:90:5: error: expected constructor, destructor, or type conversion before '(' token'' | ''libraries\Pixy2\ZumoBuzzer.cpp:90:5: error: expected constructor, destructor, or type conversion before '(' token'' |