This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
wiki:v3:general_api [2018/09/26 19:06] pixycam |
wiki:v3:general_api [2018/09/26 19:07] (current) pixycam |
||
|---|---|---|---|
| Line 48: | Line 48: | ||
| === int8_t getResolution() === | === int8_t getResolution() === | ||
| - | getResolution() gets the width and height of the frames used by the current program. After calling this function, the width and height can be found in the **frameWidth** and **frameHeight** member variables. Note, calling **changeProg()** will call **getResolution()** automatically and update **frameWidth** and **frameHeight**. | + | getResolution() gets the width and height of the frames used by the current program. After calling this function, the width and height can be found in the **frameWidth** and **frameHeight** member variables. Note, calling changeProg() will call getResolution() automatically and update **frameWidth** and **frameHeight**. |