2 set_cgpio_digital methods

What is the difference between these 2 methods, set_cgpio_digital and set_cgpio_digital_output_function?

set_cgpio_digital() is set the IO output value to 0 or 1.
set_cgpio_digital_output_function() is to assign the IO a specific function such as “STOP” or “Offline task”.
Hope this explanlation is clear, please let me know if you have any questions.

1 Like