This scenario shows how to use I/O controls to perform simple operations with a device driver.

The buttons below use the SendIOControlAsync method to communicate with the device driver, and set or get the value of the seven-segment display on the device.

The IO control codes used in this scenario, along with all other driver-defined constants, in the fx2Driver object(fx2Driver.js).