how do I change one single bit?
Posted: Fri Dec 03, 2021 1:21 pm
How do I change one bit inside a uint8_t?
For example I used to do this:
But I can't get it to work in esp-idf.
Can anybody show me how to do it, please?
Thanks.
For example I used to do this:
Code: Select all
unsigned char something ;
something.F5 = 0 ;
Can anybody show me how to do it, please?
Thanks.