GPIO write
Moderator: serg
GPIO write
I am using sub_gpio_write() for setting the values of pins. But how can I set the individual pins without affecting the status of other pins using this function?
Re: GPIO write
Use mask.
• mask - Bit in set parameter will take effect only if corresponding mask bit is "1". With mask=0 function will only read current GPIO output status.