<< return to Pixycam.com

User Tools

Site Tools


wiki:v2:general_api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:v2:general_api [2018/05/22 15:09]
pixycam [Pixy2 General API]
wiki:v2:general_api [2018/05/22 15:31]
pixycam
Line 5: Line 5:
 <​code>​ <​code>​
 Pixy2 pixy; Pixy2 pixy;
 +
 +pixy.init();​ // call init() member function
 </​code>​ </​code>​
  
 ==== 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. ​
wiki/v2/general_api.txt ยท Last modified: 2019/04/29 20:08 by pixycam