This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
wiki:v2:general_api [2018/05/22 15:14] pixycam [Pixy2 General API] |
wiki:v2:general_api [2018/05/22 15:31] pixycam |
||
---|---|---|---|
Line 11: | Line 11: | ||
==== Member functions ==== | ==== Member functions ==== | ||
| | ||
- | === int8_t init(uint32_t arg[optional]) === | + | === int8_t init(uint32_t arg [optional]) === |
init() should be called before your program communicates with Pixy. init() returns an [[wiki:v2:general_api#Error codes|error value]] (<0) if it fails and 0 (PIXY\_RESULT\_OK) if it succeeds. | init() should be called before your program communicates with Pixy. init() returns an [[wiki:v2:general_api#Error codes|error value]] (<0) if it fails and 0 (PIXY\_RESULT\_OK) if it succeeds. |