How would I simplify all of this into one line?
    REG &= ~BITA;
    REG &= ~BITB;
    REG &= ~BITC;
    REG &= ~BITD;
    REG &= ~BITE;
                You can use | (bitwise or) operator.
REG &= ~(BITA | BITB | BITC | BITD | BITE);
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With