i want to do it like this
out = portOutputRegister(port);
if (val == LOW) *out &= ~bit;
else *out |= bit;
that is why i need to add new function
i want to do it like this
out = portOutputRegister(port);
if (val == LOW) *out &= ~bit;
else *out |= bit;
that is why i need to add new function