This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
wiki:v2:arduino_api [2020/01/28 03:54] jfrench [uint16_t getBlocks(uint16_t maxBlocks=1000)] |
wiki:v2:arduino_api [2020/01/28 03:56] (current) jfrench [Instantiation] |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ===== Installing the Arduino Library ===== | ===== Installing the Arduino Library ===== | ||
| - | Download the latest Arduino library "arduino%%_%%pixy-x.y.z.zip" [[https://pixycam.com/downloads-pixy2/|here]]. Bring up the Arduino IDE and import the Pixy library by selecting **Sketch➜Import Library** in the Arduino IDE, and then browse to the Arduino zip file that you just downloaded. | + | Download the latest Arduino library "arduino%%_%%pixy2-x.y.z.zip" [[https://pixycam.com/downloads-pixy2/|here]]. Bring up the Arduino IDE and import the Pixy library by selecting **Sketch➜Import Library** in the Arduino IDE, and then browse to the Arduino zip file that you just downloaded. |
| Line 25: | Line 25: | ||
| <code> | <code> | ||
| #include <SPI.h> | #include <SPI.h> | ||
| - | #include <Pixy.h> | + | #include <Pixy2.h> |
| </code> | </code> | ||
| Line 33: | Line 33: | ||
| <code> | <code> | ||
| - | Pixy pixy; | + | Pixy2 pixy; |
| </code> | </code> | ||