Home/Support/Support Forum/Explain: Difference between set.io.configure and set.dio.value?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Explain: Difference between set.io.configure and set.dio.value?

+1 vote
When dealing with manipulating pins often in a program I was told that "I shouldn't use the configuration method frequently.. only to configure an IO port initially. I should use a set method to change the IO port often." Presently I have a long code where I set.io.configure ON/ OFF over and over for all the pins on my controller. Apparently I should be using set.io.value for manipulating IO pins often in a script.

So my question is: what is the difference between .configure and .value at a hardware/software level? Why is one more dangerous than the other to use frequently?..


:) plz and ty
asked Jun 29 in Python by edunn106 New to the Community (19 points)
edited Jul 22 by edunn106

Please log in or register to answer this question.