docs: public static void main(String[] args) throws InterruptedException, PlatformAlreadyAssignedException, IOException, UnsupportedBusNumberException {
  
          // ####################################################################
          //
          // since we are not using the default Raspberry Pi platform, we should
          // explicitly assign the platform as the OrangePi platform.
          //
          // ####################################################################
          PlatformManager.setPlatform(Platform.ORANGEPI);
  
          // create Pi4J console wrapper/helper
          // (This is a utility class to abstract some of the boilerplate code)
          final Console console = new Console();
  
          // print program title/header
          console.title("<-- The Pi4J Project -->", "I2C Example");
  
          // allow for user to exit program using CTRL-C
          console.promptForExit();
  
          // get the I2C bus to communicate on
          I2CBus i2c = I2CFactory.getInstance(I2CBus.BUS_0);
  
          // create an I2C device for an individual device on the bus that you want to communicate with
          // in this example we will use the default address for the TSL2561 chip which is 0x39.
          I2CDevice device = i2c.getDevice(TSL2561_ADDR);
  
          // next, lets perform am I2C READ operation to the TSL2561 chip
          // we will read the 'ID' register from the chip to get its part number and silicon revision number
          console.println("... reading ID register from TSL2561");
          int response = device.read(TSL2561_REG_ID);
          console.println("TSL2561 ID = " + String.format("0x%02x", response) + " (should be 0x50)");
  
          // next we want to start taking light measurements, so we need to power up the sensor
          console.println("... powering up TSL2561");
          device.write(TSL2561_REG_CONTROL, TSL2561_POWER_UP);
  
          // wait while the chip collects data
          Thread.sleep(500);
  
          // now we will perform our first I2C READ operation to retrieve raw integration
          // results from DATA_0 and DATA_1 registers
          console.println("... reading DATA registers from TSL2561");
          int data0 = device.read(TSL2561_REG_DATA_0);
          int data1 = device.read(TSL2561_REG_DATA_1);
  
          // print raw integration results from DATA_0 and DATA_1 registers
          console.println("TSL2561 DATA 0 = " + String.format("0x%02x", data0));
          console.println("TSL2561 DATA 1 = " + String.format("0x%02x", data1));
  
          // before we exit, lets not forget to power down light sensor
          console.println("... powering down TSL2561");
          device.write(TSL2561_REG_CONTROL, TSL2561_POWER_DOWN);
      }