>> gpiolib doesn't clear bits not in mask for you, so you need to OR with >> *mask here to avoid setting random other bits. > > That was of course meant to be: *AND* with *mask. > Ah, okay, one question from my previous e-mail down.
>> gpiolib doesn't clear bits not in mask for you, so you need to OR with >> *mask here to avoid setting random other bits. > > That was of course meant to be: *AND* with *mask. > Ah, okay, one question from my previous e-mail down.