Toggle Windowed Mode using Arduino Shield

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Dominik Lenk

  • Posts: 10
  • Joined: Tue Apr 18, 2017 9:52 am

Toggle Windowed Mode using Arduino Shield

PostSat Jul 28, 2018 3:51 pm

I am trying to program a button to toggle windowedMode on a Ursa. Unfortunately, I am not sure if I understand the docs correctly as there seem to be two nested objects in the docs?

Code: Select all
// category 1 Video
// parameter 9 Recording format
// operation 4 flags
// values 4 windowed mode
int recFormat[5] = {
   50, // file frame rate
   0, // sensor frame rate
   1920, // frame width
   1080, // frame height
   1 // Turn on windowed mode, according to the docs another object should go here?
};
cameraControl.writeCommandInt16(cameraNumber, 1, 9, 0, recFormat);


Has anyone done this successfully before?

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 1 guest