const byte DATA_MASK = B11001100;
byte data = B10101010;
void setup() {
Serial.begin(9600);
byte clearedData = data & ~DATA_MASK; // Clear specific bits using the NOT operator
Serial.println(clearedData, BIN);
}
void loop() {
// The loop function is not used in this example
}