This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OPT3101-SDK: Basic capture example?

Part Number: OPT3101-SDK
Other Parts Discussed in Thread: OPT3101EVM

I'm digging into the SDK with the OPT3101EVM. The SDK focuses on calibration which is very helpful, but I was wondering if someone could provide an example of how to used the SDK to capture and display results?

Something that covers initializing the device, then repeatedly capturing would very helpful.

For example:

// Initialize stuff
host.initialize();
host.printf("Test program\r\n");

OPT3101:device dev;

dev.reset();
dev.initialize();
// What calibration/Initialization goes here?

// Example on how to capture data
OPT3101::frameData data;
while(true) {
   data.capture(...);
   host.printf(...):
}

Best regards,

Matt