void setup() {
   Serial.begin(9600);

  int optionA = 1; // Flag 1
  int optionB = 2; // Flag 2
  int optionC = 4; // Flag 3

  // Combining options using the bitwise OR operator
  int combinedOptions = optionA | optionB | optionC;

  // Checking if specific options are present

  if (combinedOptions & optionA) {
    // Option A is present
    Serial.println("Option A");
  }

  if (combinedOptions & optionB) {
    // Option B is present
    Serial.println("Option B");
  }

  if (combinedOptions & optionC) {
    // Option C is present
    Serial.println("Option C");
  }
}

void loop() {
   // Empty loop
}